Package io.deephaven.plot.util.tables
Class PartitionedTableBackedPartitionedTableHandle
java.lang.Object
io.deephaven.plot.util.tables.PartitionedTableHandle
io.deephaven.plot.util.tables.PartitionedTableBackedPartitionedTableHandle
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
PartitionedTableHandle
with an underlying PartitionedTable.- See Also:
-
Constructor Summary
ConstructorDescriptionPartitionedTableBackedPartitionedTableHandle
(@NotNull PartitionedTable partitionedTable, @NotNull TableDefinition tableDefinition, @NotNull String[] keyColumns, PlotInfo plotInfo, @NotNull Collection<String> columns, @Nullable Collection<String> viewColumns) PartitionedTableBackedPartitionedTableHandle
(PartitionedTable partitionedTable, TableDefinition tableDefinition, String[] keyColumns, PlotInfo plotInfo, Collection<String> columns) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyFunction
(Function<Table, Table> function) Get the set of columns to .view() when the table is fetched.Methods inherited from class io.deephaven.plot.util.tables.PartitionedTableHandle
addColumn, getColumns, getKeyColumns, getKeyColumnsOrdered, getPartitionedTable, getPlotInfo, id, isOneClickMap, setKeyColumnsOrdered, setOneClickMap, setPartitionedTable
-
Constructor Details
-
PartitionedTableBackedPartitionedTableHandle
public PartitionedTableBackedPartitionedTableHandle(PartitionedTable partitionedTable, TableDefinition tableDefinition, String[] keyColumns, PlotInfo plotInfo, Collection<String> columns) -
PartitionedTableBackedPartitionedTableHandle
public PartitionedTableBackedPartitionedTableHandle(@NotNull @NotNull PartitionedTable partitionedTable, @NotNull @NotNull TableDefinition tableDefinition, @NotNull @NotNull String[] keyColumns, PlotInfo plotInfo, @NotNull @NotNull Collection<String> columns, @Nullable @Nullable Collection<String> viewColumns)
-
-
Method Details
-
getFetchViewColumns
Description copied from class:PartitionedTableHandle
Get the set of columns to .view() when the table is fetched. Typically this is identical toPartitionedTableHandle.getColumns()
however, there are situations where the transformations applied to a PartitionedTable result in columns that are not present in the base PartitionedTable. (for example catHistPlot).- Overrides:
getFetchViewColumns
in classPartitionedTableHandle
- Returns:
- The columms to apply via view on fetch
-
getTableDefinition
- Specified by:
getTableDefinition
in classPartitionedTableHandle
-
applyFunction
- Overrides:
applyFunction
in classPartitionedTableHandle
-