Class ToPageWithDictionary<DATA_TYPE,ATTR extends Any>
java.lang.Object
io.deephaven.parquet.table.pagestore.topage.ToPageWithDictionary<DATA_TYPE,ATTR>
- All Implemented Interfaces:
ToPage<ATTR,
DATA_TYPE[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.parquet.table.pagestore.topage.ToPage
ToPage.Wrap<ATTR extends Any,
INNER_RESULT, OUTER_RESULT> -
Method Summary
Modifier and TypeMethodDescriptionfinal @NotNull DATA_TYPE[]
convertResult
(@NotNull Object result) final @NotNull ChunkType
final @NotNull ObjectChunk<DATA_TYPE,
ATTR> final @NotNull ToPage<DictionaryKeys,
long[]> final @NotNull PageMaterializerFactory
final @NotNull Object
getResult
(@NotNull ColumnPageReader columnPageReader, @NotNull SeekableChannelContext channelContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.parquet.table.pagestore.topage.ToPage
getNativeComponentType, makeVector, nullValue, toPage
-
Method Details
-
getNativeType
- Specified by:
getNativeType
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- The native type for the elements of the arrays produced by this object.
-
getChunkType
- Specified by:
getChunkType
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- The chunk type used to wrap the arrays produced by this object.
-
getPageMaterializerFactory
- Specified by:
getPageMaterializerFactory
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- the factory to create the materializers for this column.
-
getResult
@NotNull public final @NotNull Object getResult(@NotNull @NotNull ColumnPageReader columnPageReader, @NotNull @NotNull SeekableChannelContext channelContext) throws IOException -
convertResult
- Specified by:
convertResult
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- Produce the array of values from the result
-
getDictionaryChunk
- Specified by:
getDictionaryChunk
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- the dictionary stored for this column, if one exists, otherwise null.
-
getReversibleLookup
- Specified by:
getReversibleLookup
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- a reverse lookup map of the dictionary.
-
getDictionaryKeysToPage
- Specified by:
getDictionaryKeysToPage
in interfaceToPage<DATA_TYPE,
ATTR extends Any> - Returns:
- an object implementing ToPage which will read the integral Dictionary Indices when there's a dictionary
for this column (as opposed to the values, which this object's toPage will return). This will return null
iff
ToPage.getDictionaryChunk()
returns null.
-