public class PageEncodingStats extends Object implements org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
PageEncodingStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
int |
count
number of pages of this type with this encoding *
|
Encoding |
encoding
encoding of the page *
|
static Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
PageType |
page_type
the page type (data/dic/...) *
|
| Constructor and Description |
|---|
PageEncodingStats() |
PageEncodingStats(PageEncodingStats other)
Performs a deep copy on other.
|
PageEncodingStats(PageType page_type,
Encoding encoding,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(PageEncodingStats other) |
PageEncodingStats |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PageEncodingStats that) |
PageEncodingStats._Fields |
fieldForId(int fieldId) |
int |
getCount()
number of pages of this type with this encoding *
|
Encoding |
getEncoding()
encoding of the page *
|
Object |
getFieldValue(PageEncodingStats._Fields field) |
PageType |
getPage_type()
the page type (data/dic/...) *
|
int |
hashCode() |
boolean |
isSet(PageEncodingStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
|
boolean |
isSetEncoding()
Returns true if field encoding is set (has been assigned a value) and false otherwise
|
boolean |
isSetPage_type()
Returns true if field page_type is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PageEncodingStats |
setCount(int count)
number of pages of this type with this encoding *
|
void |
setCountIsSet(boolean value) |
PageEncodingStats |
setEncoding(Encoding encoding)
encoding of the page *
|
void |
setEncodingIsSet(boolean value) |
void |
setFieldValue(PageEncodingStats._Fields field,
Object value) |
PageEncodingStats |
setPage_type(PageType page_type)
the page type (data/dic/...) *
|
void |
setPage_typeIsSet(boolean value) |
String |
toString() |
void |
unsetCount() |
void |
unsetEncoding() |
void |
unsetPage_type() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int count
public static final Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PageEncodingStats()
public PageEncodingStats(PageEncodingStats other)
public PageEncodingStats deepCopy()
deepCopy in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public PageEncodingStats setPage_type(PageType page_type)
PageTypepublic void unsetPage_type()
public boolean isSetPage_type()
public void setPage_typeIsSet(boolean value)
public PageEncodingStats setEncoding(Encoding encoding)
Encodingpublic void unsetEncoding()
public boolean isSetEncoding()
public void setEncodingIsSet(boolean value)
public int getCount()
public PageEncodingStats setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public void setFieldValue(PageEncodingStats._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public Object getFieldValue(PageEncodingStats._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public boolean isSet(PageEncodingStats._Fields field)
isSet in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public boolean equals(PageEncodingStats that)
public int compareTo(PageEncodingStats other)
compareTo in interface Comparable<PageEncodingStats>public PageEncodingStats._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.