public class TableGroup extends Object
Constructor and Description |
---|
TableGroup(LinkedHashSet<PhysicalTable> tables,
Set<ApiMetricName> apiMetricNames)
Deprecated.
TableGroup should not be deriving its dimensions from physical tables, because a logical table may
only surface a subset of the dimensions on its PhysicalTable
|
TableGroup(LinkedHashSet<PhysicalTable> tables,
Set<ApiMetricName> apiMetricNames,
Set<Dimension> dimensions)
Builds a TableGroup.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<ApiMetricName> |
getApiMetricNames()
Getter for the api metric names on this group.
|
Set<Dimension> |
getDimensions()
Getter for the set of maximal dimensions for tables in this table group.
|
Set<PhysicalTable> |
getPhysicalTables()
Getter for set of physical tables.
|
int |
hashCode() |
String |
toString() |
public TableGroup(LinkedHashSet<PhysicalTable> tables, Set<ApiMetricName> apiMetricNames, Set<Dimension> dimensions)
tables
- The backing physical tablesapiMetricNames
- The metric names for a LogicalTabledimensions
- The dimensions for a LogicalTable@Deprecated public TableGroup(LinkedHashSet<PhysicalTable> tables, Set<ApiMetricName> apiMetricNames)
This constructor takes the union of the dimensions on the physical tables as the dimensions of the table group.
tables
- The physical tables for the table groupapiMetricNames
- The metrics for the table grouppublic Set<PhysicalTable> getPhysicalTables()
public Set<Dimension> getDimensions()
public Set<ApiMetricName> getApiMetricNames()
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.