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 protectedTableMapHandle(Collection<String> columns, String[] keyColumns, PlotInfo plotInfo) -
Method Summary
Modifier and Type Method Description voidaddColumn(String column)voidapplyFunction(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()PlotInfogetPlotInfo()abstract TableDefinitiongetTableDefinition()TableMapgetTableMap()intid()booleanisOneClickMap()voidsetKeyColumnsOrdered(String[] orderedKeyColumns)voidsetOneClickMap(boolean isOneClick)voidsetTableMap(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:
getPlotInfoin interfacePlotExceptionCause
-
setOneClickMap
public void setOneClickMap(boolean isOneClick) -
isOneClickMap
public boolean isOneClickMap() -
applyFunction
-