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 ColumnSourceManager
createColumnSourceManager(boolean isRefreshing, com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)
Map<String,RegionedColumnSource<?>>
createRegionedColumnSources(com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)
Create a map ofRegionedColumnSource
s to correspond to the input set ofColumnDefinition
sstatic RegionedTableComponentFactory
make()
Create a default instance of the factory, using no special table or column instructions.static RegionedTableComponentFactory
make(SourceTableInstructions instructions)
Create a factory that uses the inputSourceTableInstructions
for 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 inputSourceTableInstructions
for 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:
createColumnSourceManager
in interfaceSourceTableComponentFactory
-
createRegionedColumnSources
public Map<String,RegionedColumnSource<?>> createRegionedColumnSources(@NotNull com.illumon.dataobjects.ColumnDefinition<?>... columnDefinitions)Description copied from interface:RegionedTableComponentFactory
Create a map ofRegionedColumnSource
s to correspond to the input set ofColumnDefinition
s- Specified by:
createRegionedColumnSources
in interfaceRegionedTableComponentFactory
- Parameters:
columnDefinitions
- the column definitions- Returns:
- a map of column name to column source.
-