Package org.apache.parquet.format
Class PageEncodingStats
- java.lang.Object
-
- org.apache.parquet.format.PageEncodingStats
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PageEncodingStats>,org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-03-17") public class PageEncodingStats extends Object implements org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>, Serializable, Cloneable, Comparable<PageEncodingStats>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPageEncodingStats._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intcountnumber of pages of this type with this encoding *Encodingencodingencoding of the page *static Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPageTypepage_typethe page type (data/dic/...) *
-
Constructor Summary
Constructors Constructor Description PageEncodingStats()PageEncodingStats(PageEncodingStats other)Performs a deep copy on other.PageEncodingStats(PageType page_type, Encoding encoding, int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(PageEncodingStats other)PageEncodingStatsdeepCopy()booleanequals(Object that)booleanequals(PageEncodingStats that)PageEncodingStats._FieldsfieldForId(int fieldId)intgetCount()number of pages of this type with this encoding *EncodinggetEncoding()encoding of the page *ObjectgetFieldValue(PageEncodingStats._Fields field)PageTypegetPage_type()the page type (data/dic/...) *inthashCode()booleanisSet(PageEncodingStats._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCount()Returns true if field count is set (has been assigned a value) and false otherwisebooleanisSetEncoding()Returns true if field encoding is set (has been assigned a value) and false otherwisebooleanisSetPage_type()Returns true if field page_type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PageEncodingStatssetCount(int count)number of pages of this type with this encoding *voidsetCountIsSet(boolean value)PageEncodingStatssetEncoding(Encoding encoding)encoding of the page *voidsetEncodingIsSet(boolean value)voidsetFieldValue(PageEncodingStats._Fields field, Object value)PageEncodingStatssetPage_type(PageType page_type)the page type (data/dic/...) *voidsetPage_typeIsSet(boolean value)StringtoString()voidunsetCount()voidunsetEncoding()voidunsetPage_type()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
count
public int count
number of pages of this type with this encoding *
-
metaDataMap
public static final Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
PageEncodingStats
public PageEncodingStats()
-
PageEncodingStats
public PageEncodingStats(PageEncodingStats other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public PageEncodingStats deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
setPage_type
public PageEncodingStats setPage_type(PageType page_type)
the page type (data/dic/...) *- See Also:
PageType
-
unsetPage_type
public void unsetPage_type()
-
isSetPage_type
public boolean isSetPage_type()
Returns true if field page_type is set (has been assigned a value) and false otherwise
-
setPage_typeIsSet
public void setPage_typeIsSet(boolean value)
-
setEncoding
public PageEncodingStats setEncoding(Encoding encoding)
encoding of the page *- See Also:
Encoding
-
unsetEncoding
public void unsetEncoding()
-
isSetEncoding
public boolean isSetEncoding()
Returns true if field encoding is set (has been assigned a value) and false otherwise
-
setEncodingIsSet
public void setEncodingIsSet(boolean value)
-
getCount
public int getCount()
number of pages of this type with this encoding *
-
setCount
public PageEncodingStats setCount(int count)
number of pages of this type with this encoding *
-
unsetCount
public void unsetCount()
-
isSetCount
public boolean isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
-
setCountIsSet
public void setCountIsSet(boolean value)
-
setFieldValue
public void setFieldValue(PageEncodingStats._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
getFieldValue
public Object getFieldValue(PageEncodingStats._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
isSet
public boolean isSet(PageEncodingStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
equals
public boolean equals(PageEncodingStats that)
-
compareTo
public int compareTo(PageEncodingStats other)
- Specified by:
compareToin interfaceComparable<PageEncodingStats>
-
fieldForId
public PageEncodingStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-