Class ToObjectPage<T,ATTR extends Any>

java.lang.Object
io.deephaven.parquet.table.pagestore.topage.ToObjectPage<T,ATTR>
All Implemented Interfaces:
ToPage<ATTR,T[]>

public class ToObjectPage<T,ATTR extends Any> extends Object implements ToPage<ATTR,T[]>
  • Method Details

    • create

      public static <T, ATTR extends Any> ToPage<ATTR,T[]> create(Class<T> nativeType, @NotNull @NotNull ObjectCodec<T> codec, Function<SeekableChannelContext,org.apache.parquet.column.Dictionary> dictionarySupplier)
    • getNativeType

      @NotNull public final @NotNull Class<?> getNativeType()
      Specified by:
      getNativeType in interface ToPage<T,ATTR extends Any>
      Returns:
      The native type for the elements of the arrays produced by this object.
    • getChunkType

      @NotNull public final @NotNull ChunkType getChunkType()
      Specified by:
      getChunkType in interface ToPage<T,ATTR extends Any>
      Returns:
      The chunk type used to wrap the arrays produced by this object.
    • convertResult

      @NotNull public final @NotNull T[] convertResult(Object result)
      Specified by:
      convertResult in interface ToPage<T,ATTR extends Any>
      Returns:
      Produce the array of values from the result