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:
  • Method Details

    • getX

      public String getX()
      Returns:
      the x-axis data column
    • getY

      public String getY()
      Returns:
      the y-axis data column
    • getPartitionedTable

      public PartitionedTable getPartitionedTable()
      Returns:
      the underlying PartitionedTable
    • addTableHandle

      public void addTableHandle(TableHandle tableHandle)
      Description copied from interface: SeriesInternal
      Add a table that drives this series.
      Specified by:
      addTableHandle in interface SeriesInternal
      Overrides:
      addTableHandle in class AbstractSeriesInternal
      Parameters:
      tableHandle - table handle.
    • getSwappableTable

      public SwappableTable getSwappableTable()
    • applyFunction

      protected <T, R> void applyFunction(Function<? super T,? extends R> function, String columnName, String functionInput, Class<R> resultClass)
      Description copied from class: AbstractMultiSeries
      Applies the function to the byColumns of the underlying table to create a new column named columnName.
      Overrides:
      applyFunction in class AbstractMultiSeries<SERIES extends DataSeriesInternal>
      Parameters:
      function - The function to apply
      columnName - The column name to create
      functionInput - The formula string to use for gathering input to function
      resultClass - The expected result type of function
    • applyTransform

      public void applyTransform(String columnName, String update, Class[] classesToImport, Map<String,Object> params, boolean columnTypesPreserved)
      Description copied from interface: MultiSeriesInternal
      Calls a .update() on the underlying table with the given formula: underlyingTable.update(columnName = update)
      Parameters:
      columnName - the resulting column
      update - the formula inside
      classesToImport - classes to import into the query scope
      params - parameters to add to the query scope
      columnTypesPreserved - set to true if the update clause is 'add only' with respect to columns. This allows the copying of ACLs