public class PermissivePhysicalTableDefinition extends ConcretePhysicalTableDefinition
Constructor and Description |
---|
PermissivePhysicalTableDefinition(TableName name,
ZonedTimeGrain timeGrain,
Set<FieldName> metricNames,
Set<? extends DimensionConfig> dimensionConfigs)
Define a permissive physical table.
|
PermissivePhysicalTableDefinition(TableName name,
ZonedTimeGrain timeGrain,
Set<FieldName> metricNames,
Set<? extends DimensionConfig> dimensionConfigs,
Map<String,String> logicalToPhysicalNames)
Define a permissive physical table with provided logical to physical column name mappings.
|
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.
|
getDependentTableNames
buildColumns, buildLogicalToPhysicalNames, getDimensionConfigs, getLogicalToPhysicalNames, getMetricNames, getName, getTimeGrain
public PermissivePhysicalTableDefinition(TableName name, ZonedTimeGrain timeGrain, Set<FieldName> metricNames, Set<? extends DimensionConfig> dimensionConfigs)
name
- The table nametimeGrain
- The zoned time grainmetricNames
- The Set of metric names on the tabledimensionConfigs
- The dimension configurationspublic PermissivePhysicalTableDefinition(TableName name, ZonedTimeGrain timeGrain, Set<FieldName> metricNames, Set<? extends DimensionConfig> dimensionConfigs, Map<String,String> logicalToPhysicalNames)
name
- The table nametimeGrain
- The zoned time grainmetricNames
- The Set of metric names on the tabledimensionConfigs
- The dimension configurationslogicalToPhysicalNames
- A map from logical column names to physical column namespublic ConfigPhysicalTable build(ResourceDictionaries dictionaries, DataSourceMetadataService metadataService)
PhysicalTableDefinition
build
in class ConcretePhysicalTableDefinition
dictionaries
- Dictionary containing dimension dictionary and physical table dictionarymetadataService
- Service containing column available interval informationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.