Interface ColumnIndexStore


public interface ColumnIndexStore
Provides the ColumnIndex and OffsetIndex objects for a row-group.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Exception thrown in case of an offset index is missing for any of the columns.
  • Method Summary

    Modifier and Type
    Method
    Description
    getColumnIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
     
    getOffsetIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
     
  • Method Details

    • getColumnIndex

      ColumnIndex getColumnIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
      Parameters:
      column - the path of the column
      Returns:
      the column index for the column-chunk in the row-group or null if no column index is available
    • getOffsetIndex

      OffsetIndex getOffsetIndex(org.apache.parquet.hadoop.metadata.ColumnPath column) throws ColumnIndexStore.MissingOffsetIndexException
      Parameters:
      column - the path of the column
      Returns:
      the offset index for the column-chunk in the row-group
      Throws:
      ColumnIndexStore.MissingOffsetIndexException - if the related offset index is missing