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.23.0)",
date="2026-08-06")
public class PageEncodingStats
extends Object
implements org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>, Serializable, Cloneable, Comparable<PageEncodingStats>
statistics of a given page type and encoding
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionintnumber of pages of this type with this encoding *encoding of the page *static final Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData> the page type (data/dic/ -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.PageEncodingStats(PageType page_type, Encoding encoding, int count) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(PageEncodingStats other) deepCopy()booleanbooleanequals(PageEncodingStats that) fieldForId(int fieldId) intgetCount()number of pages of this type with this encoding *encoding of the page *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 otherwisebooleanReturns true if field count is set (has been assigned a value) and false otherwisebooleanReturns true if field encoding is set (has been assigned a value) and false otherwisebooleanReturns true if field page_type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCount(int count) number of pages of this type with this encoding *voidsetCountIsSet(boolean value) setEncoding(Encoding encoding) encoding of the page *voidsetEncodingIsSet(boolean value) voidsetFieldValue(PageEncodingStats._Fields field, Object value) setPage_type(PageType page_type) the page type (data/dic/voidsetPage_typeIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
page_type
the page type (data/dic/...) *- See Also:
-
encoding
encoding of the page *- See Also:
-
count
public int countnumber of pages of this type with this encoding * -
metaDataMap
public static final Map<PageEncodingStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PageEncodingStats
public PageEncodingStats() -
PageEncodingStats
-
PageEncodingStats
Performs a deep copy on other.
-
-
Method Details
-
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>
-
getPage_type
the page type (data/dic/...) *- See Also:
-
setPage_type
the page type (data/dic/...) *- See Also:
-
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) -
getEncoding
encoding of the page *- See Also:
-
setEncoding
encoding of the page *- See Also:
-
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
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PageEncodingStats>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-