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)ChunkTypegetChunkType()Class<?>getNativeType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNativeTypein interfaceToPage<T,ATTR extends Attributes.Any>- Returns:
- The native type for the elements of the arrays produced by this object.
-
getChunkType
- Specified by:
getChunkTypein interfaceToPage<T,ATTR extends Attributes.Any>- Returns:
- The chunk type used to wrap the arrays produced by this object.
-
convertResult
- Specified by:
convertResultin interfaceToPage<T,ATTR extends Attributes.Any>- Returns:
- Produce the array of values from the result
-