Class TableMapHandle
java.lang.Object
com.illumon.iris.db.plot.util.tables.TableMapHandle
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
- Direct Known Subclasses:
TableBackedTableMapHandle
,TableMapBackedTableMapHandle
Holds a remote TableMap.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TableMapHandle
(Collection<String> columns, String[] keyColumns, PlotInfo plotInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
applyFunction
(Function<Table, Table> function) Get the set of columns to .view() when the table is fetched.String[]
abstract TableDefinition
int
id()
boolean
void
setKeyColumnsOrdered
(String[] orderedKeyColumns) void
setOneClickMap
(boolean isOneClick) void
setTableMap
(TableMap tableMap)
-
Constructor Details
-
TableMapHandle
-
-
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
-