Class TableHandle

java.lang.Object
io.deephaven.plot.util.tables.TableHandle
All Implemented Interfaces:
Serializable

public class TableHandle extends Object implements Serializable
A handle describing a table as well as the columns of the table that are needed.
See Also:
  • Constructor Details

    • TableHandle

      public TableHandle(@NotNull @NotNull Table table, @NotNull @NotNull String... columns)
  • Method Details

    • addColumn

      public void addColumn(String column)
    • getColumns

      public Set<String> getColumns()
    • hasColumns

      public boolean hasColumns(String... cols)
    • getTable

      public Table getTable()
    • getFinalTableDefinition

      public TableDefinition getFinalTableDefinition()
      Get the TableDefinition of the table that will be handed off to actual plotting methods. This method is important because in some cases (ie when ACls are applied to source tables) computations must be deferred until after ACL application so that they are applied correctly. In this case, the table produced by getTable() may be the raw source table, not the final table. This method is used to get the final result table definition no matter what the preconditions are.
      Returns:
      The TableDefinition of the plotted table.
    • setTable

      public void setTable(Table table)