Class ToPageWithDictionary<DATA_TYPE,ATTR extends Attributes.Any>
java.lang.Object
com.illumon.iris.db.v2.locations.parquet.topage.ToPageWithDictionary<DATA_TYPE,ATTR>
- All Implemented Interfaces:
ToPage<ATTR,DATA_TYPE[]>
public class ToPageWithDictionary<DATA_TYPE,ATTR extends Attributes.Any>
extends Object
implements ToPage<ATTR,DATA_TYPE[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.locations.parquet.topage.ToPage
ToPage.Wrap<ATTR extends Attributes.Any,INNER_RESULT, OUTER_RESULT> -
Method Summary
Modifier and TypeMethodDescriptionfinal DATA_TYPE[]convertResultArray(Object result) convertSingleResult(Object result) final ChunkTypefinal ObjectChunk<DATA_TYPE,ATTR> final ToPage<Attributes.DictionaryKeys,int[]> final ObjectgetResult(io.deephaven.parquet.base.ColumnPageReader columnPageReader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.locations.parquet.topage.ToPage
getNativeComponentType, makeDbArray, nullValue, toPage
-
Method Details
-
getNativeType
- Specified by:
getNativeTypein interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- The native type for the elements of the arrays produced by this object.
-
getChunkType
- Specified by:
getChunkTypein interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- The chunk type used to wrap the arrays produced by this object.
-
getResult
@NotNull public final Object getResult(@NotNull io.deephaven.parquet.base.ColumnPageReader columnPageReader) throws IOException - Specified by:
getResultin interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- Gets the result from the columnPageReader.
- Throws:
IOException
-
convertResultArray
- Specified by:
convertResultArrayin interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- Produce the array of values from the result
-
convertSingleResult
- Specified by:
convertSingleResultin interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any>
-
getDictionaryChunk
- Specified by:
getDictionaryChunkin interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- the dictionary stored for this column, if one exists, otherwise null.
-
getReversibleLookup
- Specified by:
getReversibleLookupin interfaceToPage<DATA_TYPE,ATTR extends Attributes.Any> - Returns:
- an reverse lookup map of the dictionary.
-
getDictionaryKeysToPage
- Specified by:
getDictionaryKeysToPagein interfaceToPage<DATA_TYPE,ATTR extends Attributes.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.
-