Class ToArrayPage<ATTR extends Attributes.Any,RESULT,ARRAY_TYPE>
java.lang.Object
com.illumon.iris.db.v2.locations.parquet.topage.ToPage.Wrap<ATTR,RESULT,ARRAY_TYPE[]>
com.illumon.iris.db.v2.locations.parquet.topage.ToArrayPage<ATTR,RESULT,ARRAY_TYPE>
- All Implemented Interfaces:
ToPage<ATTR,ARRAY_TYPE[]>
public class ToArrayPage<ATTR extends Attributes.Any,RESULT,ARRAY_TYPE> extends ToPage.Wrap<ATTR,RESULT,ARRAY_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 Type Method Description ARRAY_TYPE[]
convertResult(Object object)
static <ATTR extends Attributes.Any, ARRAY_TYPE>
ToPage<ATTR,ARRAY_TYPE[]>create(Class<ARRAY_TYPE> nativeType, Class<?> componentType, ToPage<ATTR,?> toPage)
ChunkType
getChunkType()
Class<ARRAY_TYPE>
getNativeType()
Methods inherited from class com.illumon.iris.db.v2.locations.parquet.topage.ToPage.Wrap
getDictionaryChunk, getDictionaryKeysToPage, getResult, getReversibleLookup, 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
getNativeComponentType, makeDbArray, toPage
-
Method Details
-
create
public static <ATTR extends Attributes.Any, ARRAY_TYPE> ToPage<ATTR,ARRAY_TYPE[]> create(@NotNull Class<ARRAY_TYPE> nativeType, @NotNull Class<?> componentType, @NotNull ToPage<ATTR,?> toPage) -
getNativeType
- Returns:
- The native type for the elements of the arrays produced by this object.
-
getChunkType
- Returns:
- The chunk type used to wrap the arrays produced by this object.
-
convertResult
- Specified by:
convertResult
in interfaceToPage<ATTR extends Attributes.Any,RESULT>
- Specified by:
convertResult
in classToPage.Wrap<ATTR extends Attributes.Any,RESULT,ARRAY_TYPE[]>
- Returns:
- Produce the array of values from the result
-