Interface ColumnIndexStore
public interface ColumnIndexStore
Provides the
ColumnIndex and OffsetIndex objects for a row-group.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classException thrown in case of an offset index is missing for any of the columns. -
Method Summary
Modifier and TypeMethodDescriptiongetColumnIndex(org.apache.parquet.hadoop.metadata.ColumnPath column) getOffsetIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
-
Method Details
-
getColumnIndex
- Parameters:
column- the path of the column- Returns:
- the column index for the column-chunk in the row-group or
nullif 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
-