Class ToObjectPage<T,ATTR extends Attributes.Any>
java.lang.Object
com.illumon.iris.db.v2.locations.parquet.topage.ToObjectPage<T,ATTR>
- All Implemented Interfaces:
ToPage<ATTR,
T[]>
-
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 T[]
convertResultArray
(Object result) convertSingleResult
(Object result) static <T,
ATTR extends Attributes.Any>
ToPage<ATTR,T[]> create
(Class<T> nativeType, ObjectCodec<T> codec, Supplier<org.apache.parquet.column.Dictionary> dictionarySupplier) final ChunkType
final Class<?>
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
getDictionaryChunk, getDictionaryKeysToPage, getNativeComponentType, getResult, getReversibleLookup, makeDbArray, nullValue, toPage
-
Method Details
-
create
public static <T,ATTR extends Attributes.Any> ToPage<ATTR,T[]> create(Class<T> nativeType, @NotNull ObjectCodec<T> codec, Supplier<org.apache.parquet.column.Dictionary> dictionarySupplier) -
getNativeType
- Specified by:
getNativeType
in interfaceToPage<T,
ATTR extends Attributes.Any> - Returns:
- The native type for the elements of the arrays produced by this object.
-
getChunkType
- Specified by:
getChunkType
in interfaceToPage<T,
ATTR extends Attributes.Any> - Returns:
- The chunk type used to wrap the arrays produced by this object.
-
convertResultArray
- Specified by:
convertResultArray
in interfaceToPage<T,
ATTR extends Attributes.Any> - Returns:
- Produce the array of values from the result
-
convertSingleResult
- Specified by:
convertSingleResult
in interfaceToPage<T,
ATTR extends Attributes.Any>
-