Class TableMapHandle

java.lang.Object
com.illumon.iris.db.plot.util.tables.TableMapHandle
All Implemented Interfaces:
PlotExceptionCause, Serializable
Direct Known Subclasses:
TableBackedTableMapHandle, TableMapBackedTableMapHandle

public abstract class TableMapHandle extends Object implements Serializable, PlotExceptionCause
Holds a remote TableMap.
See Also:
  • Constructor Details

  • Method Details

    • getTableDefinition

      public abstract TableDefinition getTableDefinition()
    • getTableMap

      public TableMap getTableMap()
    • setTableMap

      public void setTableMap(TableMap tableMap)
    • setKeyColumnsOrdered

      public void setKeyColumnsOrdered(String[] orderedKeyColumns)
    • id

      public int id()
    • addColumn

      public void addColumn(String column)
    • getColumns

      public Set<String> getColumns()
    • getFetchViewColumns

      public Set<String> getFetchViewColumns()
      Get the set of columns to .view() when the table is fetched. Typically this is identical to getColumns() however, there are situations where the transformations applied to a TableMap result in columns that are not present in the base tableMap. (for example catHistPlot).
      Returns:
    • getKeyColumns

      public Set<String> getKeyColumns()
    • getKeyColumnsOrdered

      public String[] getKeyColumnsOrdered()
    • getPlotInfo

      public PlotInfo getPlotInfo()
      Specified by:
      getPlotInfo in interface PlotExceptionCause
    • setOneClickMap

      public void setOneClickMap(boolean isOneClick)
    • isOneClickMap

      public boolean isOneClickMap()
    • applyFunction

      public void applyFunction(Function<Table,Table> function)