Class AbstractSwappableMultiSeries<SERIES extends DataSeriesInternal>
java.lang.Object
io.deephaven.plot.AbstractSeriesInternal
io.deephaven.plot.datasets.multiseries.AbstractMultiSeries<SERIES>
io.deephaven.plot.datasets.multiseries.AbstractSwappableMultiSeries<SERIES>
- All Implemented Interfaces:
MultiSeries,MultiSeriesInternal<SERIES>,PlotExceptionCause,Series,SeriesInternal,TableSnapshotSeries,Serializable
- Direct Known Subclasses:
MultiCatErrorBarSeriesSwappable,MultiCatSeriesSwappable,MultiOHLCSeriesSwappable,MultiXYErrorBarSeriesSwappable,MultiXYSeriesSwappable
public abstract class AbstractSwappableMultiSeries<SERIES extends DataSeriesInternal>
extends AbstractMultiSeries<SERIES>
- See Also:
-
Field Summary
Fields inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
byColumns, EMPTY_PARTITIONED_TABLE, initialized, partitionedTable, partitionedTableLock -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTableHandle(TableHandle tableHandle) Add a table that drives this series.protected <T,R> void applyFunction(Function<? super T, ? extends R> function, String columnName, String functionInput, Class<R> resultClass) Applies thefunctionto thebyColumnsof the underlying table to create a new column namedcolumnName.voidapplyTransform(String columnName, String update, Class[] classesToImport, Map<String, Object> params, boolean columnTypesPreserved) Calls a .update() on the underlying table with the given formula: underlyingTable.update(columnName = update)getX()getY()Methods inherited from class io.deephaven.plot.datasets.multiseries.AbstractMultiSeries
addSeries, applyNamingFunction, chart, createSeries, errorBarColor, errorBarColor, errorBarColor, get, getByColumns, getDynamicSeriesNamer, getSeriesCount, gradientVisible, group, initializeSeries, lineColor, lineColor, lineColor, lineStyle, linesVisible, piePercentLabelFormat, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColor, pointColorInteger, pointColorInteger, pointColorInteger, pointColorInteger, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabel, pointLabelFormat, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointShape, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointSize, pointsVisible, seriesColor, seriesColor, seriesColor, seriesNamingFunction, seriesNamingFunction, setDynamicSeriesNamer, toolTipPattern, xToolTipPattern, yToolTipPatternMethods inherited from class io.deephaven.plot.AbstractSeriesInternal
addPartitionedTableHandle, addSwappableTable, axes, getPartitionedTableHandles, getSwappableTables, getTableHandles, id, name, removeTableHandleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.plot.datasets.multiseries.MultiSeriesInternal
axes, copy, createSeries, getPlotInfo, id, nameMethods inherited from interface io.deephaven.plot.SeriesInternal
addPartitionedTableHandle, addSwappableTable, getPartitionedTableHandles, getSwappableTables, getTableHandles, removeTableHandle
-
Method Details
-
getX
- Returns:
- the x-axis data column
-
getY
- Returns:
- the y-axis data column
-
getPartitionedTable
- Returns:
- the underlying
PartitionedTable
-
addTableHandle
Description copied from interface:SeriesInternalAdd a table that drives this series.- Specified by:
addTableHandlein interfaceSeriesInternal- Overrides:
addTableHandlein classAbstractSeriesInternal- Parameters:
tableHandle- table handle.
-
getSwappableTable
-
applyFunction
protected <T,R> void applyFunction(Function<? super T, ? extends R> function, String columnName, String functionInput, Class<R> resultClass) Description copied from class:AbstractMultiSeriesApplies thefunctionto thebyColumnsof the underlying table to create a new column namedcolumnName.- Overrides:
applyFunctionin classAbstractMultiSeries<SERIES extends DataSeriesInternal>- Parameters:
function- The function to applycolumnName- The column name to createfunctionInput- The formula string to use for gathering input tofunctionresultClass- The expected result type offunction
-
applyTransform
public void applyTransform(String columnName, String update, Class[] classesToImport, Map<String, Object> params, boolean columnTypesPreserved) Description copied from interface:MultiSeriesInternalCalls a .update() on the underlying table with the given formula: underlyingTable.update(columnName = update)- Parameters:
columnName- the resulting columnupdate- the formula insideclassesToImport- classes to import into the query scopeparams- parameters to add to the query scopecolumnTypesPreserved- set to true if the update clause is 'add only' with respect to columns. This allows the copying of ACLs
-