Package io.deephaven.pivot
Class PivotTableSchemaUtil
java.lang.Object
io.deephaven.pivot.PivotTableSchemaConstants
io.deephaven.pivot.PivotTableSchemaUtil
Utilities for creating schemas from
PivotTable
instances.-
Field Summary
Fields inherited from class io.deephaven.pivot.PivotTableSchemaConstants
PIVOT_TABLE_AGGREGATION_INPUT_COLUMN_NAME, PIVOT_TABLE_COLUMN_COLUMNS_ATTRIBUTES, PIVOT_TABLE_GRAND_TOTAL_COLUMNS_ATTRIBUTES, PIVOT_TABLE_IS_COLUMN_DEPTH_COLUMN, PIVOT_TABLE_IS_COLUMN_EXPAND_BY_COLUMN, PIVOT_TABLE_IS_COLUMN_EXPANDED_COLUMN, PIVOT_TABLE_IS_COLUMN_GROUP_BY_COLUMN, PIVOT_TABLE_IS_COLUMN_VALUE_COLUMN, PIVOT_TABLE_IS_GRAND_TOTAL_VALUE_COLUMN, PIVOT_TABLE_IS_ROW_DEPTH_COLUMN, PIVOT_TABLE_IS_ROW_EXPAND_BY_COLUMN, PIVOT_TABLE_IS_ROW_EXPANDED_COLUMN, PIVOT_TABLE_IS_ROW_GROUP_BY_COLUMN, PIVOT_TABLE_IS_ROW_VALUE_COLUMN, PIVOT_TABLE_IS_STRUCTURAL_COLUMN, PIVOT_TABLE_IS_VALUE_COLUMN, PIVOT_TABLE_ROW_COLUMN_ATTRIBUTES, PIVOT_TABLE_VALUE_COLUMNS_ATTRIBUTES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
makeSchemaPayload
(@NotNull com.google.flatbuffers.FlatBufferBuilder builder, @NotNull PivotTable pivotTable, @NotNull List<org.apache.arrow.vector.types.pojo.Field> fields) Add a schema payload for aPivotTable
to aFlatBufferBuilder
.static int
makeSchemaPayload
(@NotNull com.google.flatbuffers.FlatBufferBuilder builder, @NotNull PivotTableView view) Add a schema payload for aPivotTable
to aFlatBufferBuilder
.
-
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 aPivotTable
to aFlatBufferBuilder
.- Parameters:
builder
- TheFlatBufferBuilder
to add toview
- ThePivotTableView
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 aPivotTable
to aFlatBufferBuilder
.- Parameters:
builder
- TheFlatBufferBuilder
to add topivotTable
- ThePivotTable
whose schema should be described- Returns:
- The offset to the schema payload in the flatbuffer under construction
-