public class GenericDimensionConfigs extends Object
Constructor and Description |
---|
GenericDimensionConfigs(Supplier<List<? extends DataSourceConfiguration>> configLoader)
Construct the dimension configurations.
|
Modifier and Type | Method and Description |
---|---|
Set<DimensionConfig> |
getAllDimensionConfigurations()
Get all dimension configurations of all data sources.
|
Set<DimensionConfig> |
getDimensionConfigs(DataSourceConfiguration dataSourceConfiguration)
Deprecated.
only the name(a String) of DataSourceConfiguration can resolve its set of DimensionConfigs. There is
no need to pass a heavier DataSourceConfiguration object. Use
getDimensionConfigs(String) instead. |
Set<DimensionConfig> |
getDimensionConfigs(String dataSourceName)
Returns all dimension configurations of a particular data source.
|
public GenericDimensionConfigs(Supplier<List<? extends DataSourceConfiguration>> configLoader)
configLoader
- Supplies DataSourceConfigurations to build the dimensions from.public Set<DimensionConfig> getAllDimensionConfigurations()
@Deprecated public Set<DimensionConfig> getDimensionConfigs(DataSourceConfiguration dataSourceConfiguration)
getDimensionConfigs(String)
instead.dataSourceConfiguration
- The datasource configuration's dimensions to loadpublic Set<DimensionConfig> getDimensionConfigs(String dataSourceName)
dataSourceName
- Name of the data sourceCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.