Interface ColumnIndexStore
-
public interface ColumnIndexStoreProvides theColumnIndexandOffsetIndexobjects for a row-group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classColumnIndexStore.MissingOffsetIndexExceptionException 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 ColumnIndexgetColumnIndex(org.apache.parquet.hadoop.metadata.ColumnPath column)OffsetIndexgetOffsetIndex(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
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
-
-