public class PhysicalDataSourceConstraint extends DataSourceConstraint
| Constructor and Description |
|---|
PhysicalDataSourceConstraint(DataSourceConstraint dataSourceConstraint,
PhysicalTableSchema physicalTableSchema)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllColumnPhysicalNames()
Getter for the all column names as physical names.
|
PhysicalDataSourceConstraint |
withMetricIntersection(Set<String> metricNames)
Create a new PhysicalDataSourceConstraint instance with a new subset of metric names.
|
equals, getAllColumnNames, getAllDimensionNames, getAllDimensions, getApiFilters, getFilterDimensions, getMetricDimensions, getMetricNames, getRequestDimensions, hashCode, unconstrainedpublic PhysicalDataSourceConstraint(@NotNull
DataSourceConstraint dataSourceConstraint,
@NotNull
PhysicalTableSchema physicalTableSchema)
dataSourceConstraint - Data source constraint containing all the column names as logical namesphysicalTableSchema - A map from logical column name to physical column namespublic Set<String> getAllColumnPhysicalNames()
public PhysicalDataSourceConstraint withMetricIntersection(Set<String> metricNames)
The new set of metric names will be an intersection between old metric names and a user provided set of metric names
withMetricIntersection in class DataSourceConstraintmetricNames - The set of metric columns that are to be intersected with metric names in
this DataSourceConstraintCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.