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[]>
public class ToObjectPage<T,ATTR extends Attributes.Any> extends Object implements 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 Type Method Description T[]
convertResult(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)
ChunkType
getChunkType()
Class<?>
getNativeType()
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.
-
convertResult
- Specified by:
convertResult
in interfaceToPage<T,ATTR extends Attributes.Any>
- Returns:
- Produce the array of values from the result
-