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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSwappableTable(Comparable seriesName, ChartImpl chart, Function<Table, Table> tableTransform, String... col) Gets the view of theTablewith the selected subset.Produces a derivativeSelectableDataSetwith 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, waitMethods inherited from interface io.deephaven.plot.filters.SelectableDataSet
getSwappableTable
-
Constructor Details
-
SelectableDataSetSwappableTable
-
-
Method Details
-
getTableDefinition
- Specified by:
getTableDefinitionin 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:SelectableDataSetProduces a derivativeSelectableDataSetwith the specified transformation applied to all internal tables.- Specified by:
transformin 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
SelectableDataSetwith the transformation applied
-
getSwappableTable
public SwappableTable getSwappableTable(Comparable seriesName, ChartImpl chart, Function<Table, Table> tableTransform, String... col) Description copied from interface:SelectableDataSetGets the view of theTablewith the selected subset.- Specified by:
getSwappableTablein interfaceSelectableDataSet<KEY_TYPE,VALUE_TYPE> - Parameters:
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
-