Package io.deephaven.parquet.base
Interface ColumnChunkReader
- All Known Implementing Classes:
ColumnChunkReaderImpl
public interface ColumnChunkReader
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.parquet.column.Dictionary -
Method Summary
Modifier and TypeMethodDescriptionSupplier<org.apache.parquet.column.Dictionary>intgetMaxRl()int<T extends Comparable<T>,S extends org.apache.parquet.column.statistics.Statistics<T>>
Sorg.apache.parquet.schema.PrimitiveTypegetType()booleanlongnumRows()longboolean
-
Field Details
-
NULL_DICTIONARY
static final org.apache.parquet.column.Dictionary NULL_DICTIONARY
-
-
Method Details
-
getPageFixedSize
int getPageFixedSize()- Returns:
- -1 if the current column doesn't guarantee fixed page size, otherwise the fixed page size
-
numRows
long numRows()- Returns:
- The number of rows in this ColumnChunk, or -1 if it's unknown.
-
numValues
long numValues()- Returns:
- The value stored under the corresponding ColumnMetaData.num_values field
-
getMaxRl
int getMaxRl()- Returns:
- The depth of the number of nested repeated fields this column is a part of. 0 means this is a simple (non-repeating) field, 1 means this is a flat array.
-
getPageIterator
- Returns:
- An iterator over individual parquet pages
- Throws:
IOException
-
usesDictionaryOnEveryPage
boolean usesDictionaryOnEveryPage()- Returns:
- Whether this column chunk uses a dictionary-based encoding on every page
-
getDictionarySupplier
Supplier<org.apache.parquet.column.Dictionary> getDictionarySupplier()- Returns:
- Supplier for a Parquet dictionary for this column chunk
- ApiNote:
- The result will never return
null. It will instead supplyNULL_DICTIONARY.
-
hasStatistics
boolean hasStatistics() -
getStatistics
<T extends Comparable<T>,S extends org.apache.parquet.column.statistics.Statistics<T>> S getStatistics() -
getType
org.apache.parquet.schema.PrimitiveType getType()
-