| Constructor and Description |
|---|
AggregateImpl(Schema schema,
BitSetPlus bits) |
| Modifier and Type | Method and Description |
|---|---|
double |
estimateRowCount()
Returns an estimate of the number of distinct values in this
Aggregate.
|
double |
estimateSpace()
Returns an estimate of the amount of space (in bytes) required to
store this Aggregate.
|
List<Attribute> |
getAttributes()
Returns a list of attributes in this aggregate table.
|
String |
getCandidateTableName()
Returns a suggestion for the name of a table in which to store this
aggregate.
|
String |
getDescription()
Returns a text description of this aggregate
|
List<Measure> |
getMeasures()
Returns a list of measures in this aggregate table.
|
boolean |
hasCompleteAncestors(List<BitSetPlus> ancestorClosure)
Returns whether this Aggregate is closed with respect to ancestors.
|
String |
toString() |
public AggregateImpl(Schema schema, BitSetPlus bits)
public List<Attribute> getAttributes()
AggregategetAttributes in interface Aggregatepublic List<Measure> getMeasures()
AggregategetMeasures in interface Aggregatepublic double estimateRowCount()
AggregateestimateRowCount in interface Aggregatepublic double estimateSpace()
AggregateestimateSpace in interface Aggregatepublic String getDescription()
AggregategetDescription in interface Aggregatepublic String getCandidateTableName()
AggregateThe suggestion does not need to be unique within the db schema or less than the database's table name limit, but the implementation should try to generate a name that is likely to be unique and descriptive in the first 20 or so characters.
getCandidateTableName in interface Aggregatepublic boolean hasCompleteAncestors(List<BitSetPlus> ancestorClosure)
Attribute.getAncestorAttributes()),
return false.ancestorClosure - List containing, for each attribute ordinal, the
ordinals of the ancestors of that attribute, and all of their ancestors,
and so forthCopyright © 2006–2016 Julian Hyde. All rights reserved.