Class SwappableTable

java.lang.Object
io.deephaven.plot.util.tables.SwappableTable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SwappableTableOneClickAbstract

public abstract class SwappableTable extends Object implements Serializable
Holds a handle on a table that may get swapped out for another table.
See Also:
  • Field Details

  • Constructor Details

    • SwappableTable

      public SwappableTable(@NotNull @NotNull PartitionedTableHandle partitionedTableHandle)
      Creates a SwappableTable instance with the tableHandle.
      Parameters:
      partitionedTableHandle - holds the table
  • Method Details

    • getPartitionedTableHandle

      public PartitionedTableHandle getPartitionedTableHandle()
      Gets the PartitionedTableHandle for this SwappableTable.
      Returns:
      this SwappableTable's PartitionedTableHandle
    • addColumn

      public abstract void addColumn(String column)
      Adds a column to the underlying table structures.
      Parameters:
      column - column
    • getTableDefinition

      public TableDefinition getTableDefinition()
      Gets the signature (columns and types) of the table, \even if the data is transformed.
      Returns:
      table with the columns and types of the final table