Class RegionedTableComponentFactoryImpl
java.lang.Object
com.illumon.iris.db.v2.sources.regioned.RegionedTableComponentFactoryImpl
- All Implemented Interfaces:
RegionedTableComponentFactory,SourceTableComponentFactory
public class RegionedTableComponentFactoryImpl extends Object implements RegionedTableComponentFactory
Factory that assembles modular components for regioned source tables.
-
Method Summary
Modifier and Type Method Description ColumnSourceManagercreateColumnSourceManager(boolean isRefreshing, com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)Map<String,RegionedColumnSource<?>>createRegionedColumnSources(com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)Create a map ofRegionedColumnSources to correspond to the input set ofColumnDefinitionsstatic RegionedTableComponentFactorymake()Create a default instance of the factory, using no special table or column instructions.static RegionedTableComponentFactorymake(SourceTableInstructions instructions)Create a factory that uses the inputSourceTableInstructionsfor column and region creation.
-
Method Details
-
make
Create a default instance of the factory, using no special table or column instructions.- Returns:
- a {RegionedTableComponentFactory}
-
make
Create a factory that uses the inputSourceTableInstructionsfor column and region creation.- Parameters:
instructions- the instructions- Returns:
- a new
RegionedTableComponentFactory
-
createColumnSourceManager
public ColumnSourceManager createColumnSourceManager(boolean isRefreshing, @NotNull com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)- Specified by:
createColumnSourceManagerin interfaceSourceTableComponentFactory
-
createRegionedColumnSources
public Map<String,RegionedColumnSource<?>> createRegionedColumnSources(@NotNull com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)Description copied from interface:RegionedTableComponentFactoryCreate a map ofRegionedColumnSources to correspond to the input set ofColumnDefinitions- Specified by:
createRegionedColumnSourcesin interfaceRegionedTableComponentFactory- Parameters:
columnDefinitions- the column definitions- Returns:
- a map of column name to column source.
-