Class PivotTableSchemaUtil

java.lang.Object
io.deephaven.pivot.PivotTableSchemaConstants
io.deephaven.pivot.PivotTableSchemaUtil

public class PivotTableSchemaUtil extends PivotTableSchemaConstants
Utilities for creating schemas from PivotTable instances.
  • Constructor Details

    • PivotTableSchemaUtil

      public PivotTableSchemaUtil()
  • Method Details

    • makeSchemaPayload

      public static int makeSchemaPayload(@NotNull @NotNull com.google.flatbuffers.FlatBufferBuilder builder, @NotNull @NotNull PivotTableView view)
      Add a schema payload for a PivotTable to a FlatBufferBuilder.
      Parameters:
      builder - The FlatBufferBuilder to add to
      view - The PivotTableView whose schema should be described
      Returns:
      The offset to the schema payload in the flatbuffer under construction
    • makeSchemaPayload

      public static int makeSchemaPayload(@NotNull @NotNull com.google.flatbuffers.FlatBufferBuilder builder, @NotNull @NotNull PivotTable pivotTable, @NotNull @NotNull List<org.apache.arrow.vector.types.pojo.Field> fields)
      Add a schema payload for a PivotTable to a FlatBufferBuilder.
      Parameters:
      builder - The FlatBufferBuilder to add to
      pivotTable - The PivotTable whose schema should be described
      Returns:
      The offset to the schema payload in the flatbuffer under construction