Class ColumnChunkMetadata

java.lang.Object
io.trino.parquet.metadata.ColumnChunkMetadata

public abstract class ColumnChunkMetadata extends Object
  • Field Details

    • rowGroupOrdinal

      protected int rowGroupOrdinal
  • Constructor Details

    • ColumnChunkMetadata

      protected ColumnChunkMetadata(ColumnChunkProperties columnChunkProperties)
    • ColumnChunkMetadata

      protected ColumnChunkMetadata(org.apache.parquet.column.EncodingStats encodingStats, ColumnChunkProperties columnChunkProperties)
  • Method Details

    • get

      @Deprecated public static ColumnChunkMetadata get(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.Encoding> encodings, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
      Deprecated.
    • get

      @Deprecated public static ColumnChunkMetadata get(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, Set<org.apache.parquet.column.Encoding> encodings, org.apache.parquet.column.statistics.Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
      Deprecated.
    • get

      @Deprecated public static ColumnChunkMetadata get(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, org.apache.parquet.column.EncodingStats encodingStats, Set<org.apache.parquet.column.Encoding> encodings, org.apache.parquet.column.statistics.Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
      Deprecated.
    • get

      public static ColumnChunkMetadata get(org.apache.parquet.hadoop.metadata.ColumnPath path, org.apache.parquet.schema.PrimitiveType type, org.apache.parquet.hadoop.metadata.CompressionCodecName codec, org.apache.parquet.column.EncodingStats encodingStats, Set<org.apache.parquet.column.Encoding> encodings, org.apache.parquet.column.statistics.Statistics statistics, long firstDataPage, long dictionaryPageOffset, long valueCount, long totalSize, long totalUncompressedSize)
    • setRowGroupOrdinal

      public void setRowGroupOrdinal(int rowGroupOrdinal)
    • getRowGroupOrdinal

      public int getRowGroupOrdinal()
    • getStartingPos

      public long getStartingPos()
    • positiveLongFitsInAnInt

      protected static boolean positiveLongFitsInAnInt(long value)
    • decryptIfNeeded

      protected void decryptIfNeeded()
    • getCodec

      public org.apache.parquet.hadoop.metadata.CompressionCodecName getCodec()
    • getPath

      public org.apache.parquet.hadoop.metadata.ColumnPath getPath()
    • getType

      public org.apache.parquet.schema.PrimitiveType.PrimitiveTypeName getType()
    • getPrimitiveType

      public org.apache.parquet.schema.PrimitiveType getPrimitiveType()
    • getFirstDataPageOffset

      public abstract long getFirstDataPageOffset()
    • getDictionaryPageOffset

      public abstract long getDictionaryPageOffset()
    • getValueCount

      public abstract long getValueCount()
    • getTotalUncompressedSize

      public abstract long getTotalUncompressedSize()
    • getTotalSize

      public abstract long getTotalSize()
    • getStatistics

      public abstract org.apache.parquet.column.statistics.Statistics getStatistics()
    • getColumnIndexReference

      public IndexReference getColumnIndexReference()
    • setColumnIndexReference

      public void setColumnIndexReference(IndexReference indexReference)
    • getOffsetIndexReference

      public IndexReference getOffsetIndexReference()
    • setOffsetIndexReference

      public void setOffsetIndexReference(IndexReference offsetIndexReference)
    • setBloomFilterOffset

      public void setBloomFilterOffset(long bloomFilterOffset)
    • getBloomFilterOffset

      public long getBloomFilterOffset()
    • getEncodings

      public Set<org.apache.parquet.column.Encoding> getEncodings()
    • getEncodingStats

      public org.apache.parquet.column.EncodingStats getEncodingStats()
    • toString

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

      public boolean hasDictionaryPage()
    • isEncrypted

      public boolean isEncrypted()