Package io.deephaven.plot.filters
Class SelectableDataSetSwappableTable<KEY_TYPE,VALUE_TYPE>
java.lang.Object
io.deephaven.plot.filters.SelectableDataSetSwappableTable<KEY_TYPE,VALUE_TYPE>
- All Implemented Interfaces:
SelectableDataSet<KEY_TYPE,
,VALUE_TYPE> Serializable
public class SelectableDataSetSwappableTable<KEY_TYPE,VALUE_TYPE>
extends Object
implements SelectableDataSet<KEY_TYPE,VALUE_TYPE>, Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSwappableTable
(Comparable seriesName, ChartImpl chart, Function<Table, Table> tableTransform, String... col) Gets the view of theTable
with the selected subset.Produces a derivativeSelectableDataSet
with the specified transformation applied to all internal tables.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.deephaven.plot.filters.SelectableDataSet
getSwappableTable
-
Constructor Details
-
SelectableDataSetSwappableTable
-
-
Method Details
-
getTableDefinition
- Specified by:
getTableDefinition
in interfaceSelectableDataSet<KEY_TYPE,
VALUE_TYPE> - Returns:
- underlying table definition.
-
transform
public SelectableDataSet<KEY_TYPE,VALUE_TYPE> transform(@NotNull @NotNull Object memoKey, @NotNull @NotNull Function<Table, Table> transformation) Description copied from interface:SelectableDataSet
Produces a derivativeSelectableDataSet
with the specified transformation applied to all internal tables.- Specified by:
transform
in interfaceSelectableDataSet<KEY_TYPE,
VALUE_TYPE> - Parameters:
memoKey
- An Object that uniquely identifies the actions taken by the transformation so it can be cached.- Returns:
- a new
SelectableDataSet
with the transformation applied
-
getSwappableTable
public SwappableTable getSwappableTable(Comparable seriesName, ChartImpl chart, Function<Table, Table> tableTransform, String... col) Description copied from interface:SelectableDataSet
Gets the view of theTable
with the selected subset.- Specified by:
getSwappableTable
in interfaceSelectableDataSet<KEY_TYPE,
VALUE_TYPE> chart
- charttableTransform
- tableTransform applied to the tables in partitionedTables. The purpose of this transform is to track the table definitions for tables inside partitionedTablecol
- selected columns- Returns:
- table view on selected subset
-