Class ToPage.Wrap<ATTR extends Attributes.Any,INNER_RESULT,OUTER_RESULT>
java.lang.Object
com.illumon.iris.db.v2.locations.parquet.topage.ToPage.Wrap<ATTR,INNER_RESULT,OUTER_RESULT>
- All Implemented Interfaces:
ToPage<ATTR,OUTER_RESULT>
- Direct Known Subclasses:
ToArrayPage
,ToDbArrayPage
,ToStringSetPage
- Enclosing interface:
- ToPage<ATTR extends Attributes.Any,RESULT>
public abstract static class ToPage.Wrap<ATTR extends Attributes.Any,INNER_RESULT,OUTER_RESULT> extends Object implements ToPage<ATTR,OUTER_RESULT>
-
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 Type Method Description abstract OUTER_RESULT
convertResult(Object object)
Chunk<ATTR>
getDictionaryChunk()
ToPage<Attributes.DictionaryKeys,int[]>
getDictionaryKeysToPage()
Object
getResult(io.deephaven.parquet.base.ColumnPageReader columnPageReader)
StringSetImpl.ReversibleLookup
getReversibleLookup()
Object
nullValue()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.locations.parquet.topage.ToPage
getChunkType, getNativeComponentType, getNativeType, makeDbArray, toPage
-
Method Details
-
nullValue
- Specified by:
nullValue
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- Returns:
- The null value stored in the elements of the arrays produced by thus object.
-
getResult
@NotNull public Object getResult(io.deephaven.parquet.base.ColumnPageReader columnPageReader) throws IOException- Specified by:
getResult
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- Returns:
- Gets the result from the columnPageReader.
- Throws:
IOException
-
convertResult
- Specified by:
convertResult
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- Returns:
- Produce the array of values from the result
-
getDictionaryChunk
- Specified by:
getDictionaryChunk
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- Returns:
- the dictionary stored for this column, if one exists, otherwise null.
-
getDictionaryKeysToPage
- Specified by:
getDictionaryKeysToPage
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- 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.
-
getReversibleLookup
- Specified by:
getReversibleLookup
in interfaceToPage<ATTR extends Attributes.Any,INNER_RESULT>
- Returns:
- an reverse lookup map of the dictionary.
-