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:
  • Field Details

    • page_type

      public PageType page_type
      the page type (data/dic/...) *
      See Also:
    • encoding

      public Encoding encoding
      encoding of the page *
      See Also:
    • 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 Details

    • PageEncodingStats

      public PageEncodingStats()
    • PageEncodingStats

      public PageEncodingStats(PageType page_type, Encoding encoding, int count)
    • PageEncodingStats

      public PageEncodingStats(PageEncodingStats other)
      Performs a deep copy on other.
  • Method Details

    • deepCopy

      public PageEncodingStats deepCopy()
      Specified by:
      deepCopy in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
    • clear

      public void clear()
      Specified by:
      clear in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
    • getPage_type

      public PageType getPage_type()
      the page type (data/dic/...) *
      See Also:
    • setPage_type

      public PageEncodingStats setPage_type(PageType page_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

      public Encoding getEncoding()
      encoding of the page *
      See Also:
    • setEncoding

      public PageEncodingStats setEncoding(Encoding encoding)
      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

      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:
      setFieldValue in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
    • getFieldValue

      public Object getFieldValue(PageEncodingStats._Fields field)
      Specified by:
      getFieldValue in interface org.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:
      isSet in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(PageEncodingStats that)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(PageEncodingStats other)
      Specified by:
      compareTo in interface Comparable<PageEncodingStats>
    • fieldForId

      public PageEncodingStats._Fields fieldForId(int fieldId)
      Specified by:
      fieldForId in interface org.apache.thrift.TBase<PageEncodingStats,PageEncodingStats._Fields>
    • read

      public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
      Specified by:
      read in interface org.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:
      write in interface org.apache.thrift.TSerializable
      Throws:
      org.apache.thrift.TException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException