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 TypeMethodDescriptionfinal ARRAY_TYPE[]
convertResultArray
(Object object) static <ATTR extends Attributes.Any,
ARRAY_TYPE>
ToPage<ATTR,ARRAY_TYPE[]> final ChunkType
final Class<ARRAY_TYPE>
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
convertSingleResult, 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.
-
convertResultArray
- Specified by:
convertResultArray
in interfaceToPage<ATTR extends Attributes.Any,
RESULT> - Specified by:
convertResultArray
in classToPage.Wrap<ATTR extends Attributes.Any,
RESULT, ARRAY_TYPE[]> - Returns:
- Produce the array of values from the result
-