public class DimensionListPartitionTableDefinition extends PhysicalTableDefinition
Constructor and Description |
---|
DimensionListPartitionTableDefinition(TableName name,
ZonedTimeGrain timeGrain,
Set<FieldName> metricNames,
Set<? extends DimensionConfig> dimensionConfigs,
Map<TableName,Map<String,Set<String>>> tablePartDefinitions)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ConfigPhysicalTable |
build(ResourceDictionaries dictionaries,
DataSourceMetadataService metadataService)
Given the resource dictionaries and a data source metadata service, build the corresponding physical table.
|
Set<TableName> |
getDependentTableNames()
Get the set of physical tables required to build the current physical table.
|
buildColumns, buildLogicalToPhysicalNames, getDimensionConfigs, getLogicalToPhysicalNames, getMetricNames, getName, getTimeGrain
public DimensionListPartitionTableDefinition(TableName name, ZonedTimeGrain timeGrain, Set<FieldName> metricNames, Set<? extends DimensionConfig> dimensionConfigs, Map<TableName,Map<String,Set<String>>> tablePartDefinitions)
name
- Table name of the physical tabletimeGrain
- Zoned time grain of the tablemetricNames
- The Set of metric names on the tabledimensionConfigs
- Set of dimensions on the table as dimension configstablePartDefinitions
- A map from table names to a map of dimension names to sets of values for those
dimensions. The named table will match if for every dimension named at least one of the set of values is part
of the query.public Set<TableName> getDependentTableNames()
PhysicalTableDefinition
getDependentTableNames
in class PhysicalTableDefinition
public ConfigPhysicalTable build(ResourceDictionaries dictionaries, DataSourceMetadataService metadataService)
PhysicalTableDefinition
build
in class PhysicalTableDefinition
dictionaries
- Dictionary containing dimension dictionary and physical table dictionarymetadataService
- Service containing column available interval informationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.