Class TableMapBackedTableMapHandle
java.lang.Object
com.illumon.iris.db.plot.util.tables.TableMapHandle
com.illumon.iris.db.plot.util.tables.TableMapBackedTableMapHandle
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
TableMapHandle
with an underlying TableMap.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableMapBackedTableMapHandle
(TableMap tableMap, TableDefinition tableDefinition, String[] keyColumns, PlotInfo plotInfo, Collection<String> columns) TableMapBackedTableMapHandle
(TableMap tableMap, TableDefinition tableDefinition, String[] keyColumns, PlotInfo plotInfo, Collection<String> columns, Collection<String> viewColumns) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyFunction
(Function<Table, Table> function) Get the set of columns to .view() when the table is fetched.Methods inherited from class com.illumon.iris.db.plot.util.tables.TableMapHandle
addColumn, getColumns, getKeyColumns, getKeyColumnsOrdered, getPlotInfo, getTableMap, id, isOneClickMap, setKeyColumnsOrdered, setOneClickMap, setTableMap
-
Constructor Details
-
TableMapBackedTableMapHandle
public TableMapBackedTableMapHandle(TableMap tableMap, TableDefinition tableDefinition, String[] keyColumns, PlotInfo plotInfo, Collection<String> columns) -
TableMapBackedTableMapHandle
public TableMapBackedTableMapHandle(@NotNull TableMap tableMap, @NotNull TableDefinition tableDefinition, @NotNull String[] keyColumns, PlotInfo plotInfo, @NotNull Collection<String> columns, @Nullable Collection<String> viewColumns)
-
-
Method Details
-
getFetchViewColumns
Description copied from class:TableMapHandle
Get the set of columns to .view() when the table is fetched. Typically this is identical toTableMapHandle.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).- Overrides:
getFetchViewColumns
in classTableMapHandle
- Returns:
-
getTableDefinition
- Specified by:
getTableDefinition
in classTableMapHandle
-
applyFunction
- Overrides:
applyFunction
in classTableMapHandle
-