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:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protected
TableMapHandle(Collection<String> columns, String[] keyColumns, PlotInfo plotInfo)
-
Method Summary
Modifier and Type Method Description void
addColumn(String column)
void
applyFunction(Function<Table,Table> function)
Set<String>
getColumns()
Set<String>
getFetchViewColumns()
Get the set of columns to .view() when the table is fetched.Set<String>
getKeyColumns()
String[]
getKeyColumnsOrdered()
PlotInfo
getPlotInfo()
abstract TableDefinition
getTableDefinition()
TableMap
getTableMap()
int
id()
boolean
isOneClickMap()
void
setKeyColumnsOrdered(String[] orderedKeyColumns)
void
setOneClickMap(boolean isOneClick)
void
setTableMap(TableMap tableMap)
-
Constructor Details
-
Method Details
-
getTableDefinition
-
getTableMap
-
setTableMap
-
setKeyColumnsOrdered
-
id
public int id() -
addColumn
-
getColumns
-
getFetchViewColumns
Get the set of columns to .view() when the table is fetched. Typically this is identical togetColumns()
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
-
getKeyColumnsOrdered
-
getPlotInfo
- Specified by:
getPlotInfo
in interfacePlotExceptionCause
-
setOneClickMap
public void setOneClickMap(boolean isOneClick) -
isOneClickMap
public boolean isOneClickMap() -
applyFunction
-