Package io.deephaven.proto.pivot
Interface PivotTableDescriptorMessageOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
PivotTableDescriptorMessage
,PivotTableDescriptorMessage.Builder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether or not this table might change.Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSnapshotSchema
ByteString getSnapshotSchema()Schema to be used for snapshot or subscription requests as described in Arrow Message.fbs::Message. Field metadata is used to convey additional information about the structure of the PivotTable, the special roles some columns play, and the relationships between columns. All schema metadata for pivots is prefixed with "deephaven:". Most values are a boolean tag (represented as the string "true" if set that indicate which type of column this is. "pivotTable.isStructuralColumn" set on columns that should be included on every snapshot or subscription request, but should not be directly user-visible. "pivotTable.isRowExpandByColumn" is set on all the columns that must be included in a PivotTableViewRequest's row key table. These columns are generally user-visible and displayed before other columns, unless they also have {@value PIVOT_TABLE_IS_STRUCTURAL_COLUMN} set. "pivotTable.isRowDepthColumn" is set on a single column that specifies the depth of a row. That column will always have pivotTable.isRowExpandByColumn set. "pivotTable.isRowExpandedColumn" is set on a single nullable column of booleans that specifies whether a row is expandable or expanded. Values will be null for rows that are not expandable, true for expanded rows, false for rows that are not expanded (but expandable). Leaf rows have no children to expand, and hence will always have a null value for this column. "pivotTable.isRowGroupByColumn" is set on all columns of a pivot that are row by-columns Such columns will always have pivotTable.isRowExpandByColumn set. "pivotTable.isRowValueColumn" is set on all columns that are totals for a given row. The Column dimension has an equivalent set of attributes as rows: "pivotTable.isColumnExpandByColumn" "pivotTable.isColumnDepthColumn" "pivotTable.isColumnExpandedColumn" "pivotTable.isColumnGroupByColumn" "pivotTable.isColumnValueColumn" "pivotTable.isGrandTotalValueColumn" is set on all columns that are a grand total the given table. These columns have only one value for the entire snapshot that represents the aggregation across the entire source table. "pivotTable.isValueColumn" is set on all columns that are part of the main field (grid) of values. "pivotTable.aggregationInputColumnName" is set to the name of the corresponding constituent column that was used as input to this column. May have an empty value, because some aggregations take no input columns, for example, "Count". This is only ever present on columns with "pivotTable.isValueColumn" "pivotTable.isRowValueColumn", "pivotTable.isColumnValueColumn" or "pivotTable.isGrandTotalValueColumn" set.
bytes snapshot_schema = 1;
- Returns:
- The snapshotSchema.
-
getIsStatic
boolean getIsStatic()Whether or not this table might change.
bool is_static = 2;
- Returns:
- The isStatic.
-