Class ToArrayPage<ATTR extends Any,RESULT,ARRAY_TYPE>

java.lang.Object
io.deephaven.parquet.table.pagestore.topage.ToPage.Wrap<ATTR,RESULT,ARRAY_TYPE[]>
io.deephaven.parquet.table.pagestore.topage.ToArrayPage<ATTR,RESULT,ARRAY_TYPE>
All Implemented Interfaces:
ToPage<ATTR,ARRAY_TYPE[]>

public class ToArrayPage<ATTR extends Any,RESULT,ARRAY_TYPE> extends ToPage.Wrap<ATTR,RESULT,ARRAY_TYPE[]>
  • Method Details

    • create

      public static <ATTR extends Any, ARRAY_TYPE> ToPage<ATTR,ARRAY_TYPE[]> create(@NotNull @NotNull Class<ARRAY_TYPE> nativeType, @NotNull @NotNull Class<?> componentType, @NotNull @NotNull ToPage<ATTR,?> toPage)
    • getNativeType

      @NotNull public final @NotNull Class<ARRAY_TYPE> getNativeType()
      Returns:
      The native type for the elements of the arrays produced by this object.
    • getChunkType

      @NotNull public final @NotNull ChunkType getChunkType()
      Returns:
      The chunk type used to wrap the arrays produced by this object.
    • convertResult

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