Package org.pentaho.aggdes.model
Interface Aggregate
- All Known Implementing Classes:
AggregateImpl
public interface Aggregate
Aggregate, also known as an aggregate table, or summary table.
Generated by the algorithm.
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns an estimate of the number of distinct values in this Aggregate.doubleReturns an estimate of the amount of space (in bytes) required to store this Aggregate.Returns a list of attributes in this aggregate table.Returns a suggestion for the name of a table in which to store this aggregate.Returns a text description of this aggregateReturns a list of measures in this aggregate table.
-
Method Details
-
getCandidateTableName
String getCandidateTableName()Returns a suggestion for the name of a table in which to store this aggregate.The 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.
- Returns:
- candidate table name
-
getDescription
String getDescription()Returns a text description of this aggregate- Returns:
- description of aggregate
-
getAttributes
Returns a list of attributes in this aggregate table.- Returns:
- list of attributes in this aggregate table
-
getMeasures
Returns a list of measures in this aggregate table.- Returns:
- list of measures in this aggregate table
-
estimateRowCount
double estimateRowCount()Returns an estimate of the number of distinct values in this Aggregate.- Returns:
- estimated number of distinct values
-
estimateSpace
double estimateSpace()Returns an estimate of the amount of space (in bytes) required to store this Aggregate.- Returns:
- estimated space in bytes
-