Interface ColumnIndexStore
-
public interface ColumnIndexStore
Provides theColumnIndex
andOffsetIndex
objects for a row-group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ColumnIndexStore.MissingOffsetIndexException
Exception thrown in case of an offset index is missing for any of the columns.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ColumnIndex
getColumnIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
OffsetIndex
getOffsetIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)
-
-
-
Method Detail
-
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
-
-