Interface OffsetIndexReader


public interface OffsetIndexReader
Interface for reading the offset index for a column chunk.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final OffsetIndexReader
    A null implementation of the offset index reader which always throws an exception when called.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.parquet.internal.column.columnindex.OffsetIndex
     
  • Field Details

    • NULL

      static final OffsetIndexReader NULL
      A null implementation of the offset index reader which always throws an exception when called.
  • Method Details

    • getOffsetIndex

      org.apache.parquet.internal.column.columnindex.OffsetIndex getOffsetIndex(SeekableChannelContext context)
      Parameters:
      context - The channel context to use for reading the offset index.
      Returns:
      Reads, caches, and returns the offset index for a column chunk.
      Throws:
      UnsupportedOperationException - If the offset index cannot be read from this source.