Package mondrian.rolap.agg
Interface QuerySpec
- All Known Implementing Classes:
AbstractQuerySpec
public interface QuerySpec
Contains the information necessary to generate a SQL statement to
retrieve a set of cells.
- Author:
- jhyde, Richard M. Emberson
-
Method Summary
Modifier and TypeMethodDescriptiongetColumnAlias
(int i) getColumnPredicate
(int i) Returns the predicate on thei
th column.getMeasure
(int i) getMeasureAlias
(int i) int
getStar()
-
Method Details
-
getStar
RolapStar getStar() -
getMeasureCount
int getMeasureCount() -
getMeasure
-
getMeasureAlias
-
getColumns
RolapStar.Column[] getColumns() -
getColumnAlias
-
getColumnPredicate
Returns the predicate on thei
th column.If the column is unconstrained, returns
LiteralStarPredicate
(true).- Parameters:
i
- Column ordinal- Returns:
- Constraint on column
-
generateSqlQuery
Pair<String,List<SqlStatement.Type>> generateSqlQuery()
-