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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pair<String,List<SqlStatement.Type>>
generateSqlQuery()
String
getColumnAlias(int i)
StarColumnPredicate
getColumnPredicate(int i)
Returns the predicate on thei
th column.RolapStar.Column[]
getColumns()
RolapStar.Measure
getMeasure(int i)
String
getMeasureAlias(int i)
int
getMeasureCount()
RolapStar
getStar()
-
-
-
Method Detail
-
getStar
RolapStar getStar()
-
getMeasureCount
int getMeasureCount()
-
getMeasure
RolapStar.Measure getMeasure(int i)
-
getMeasureAlias
String getMeasureAlias(int i)
-
getColumns
RolapStar.Column[] getColumns()
-
getColumnAlias
String getColumnAlias(int i)
-
getColumnPredicate
StarColumnPredicate getColumnPredicate(int i)
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()
-
-