|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.rolap.agg.AbstractQuerySpec mondrian.rolap.agg.SegmentArrayQuerySpec
class SegmentArrayQuerySpec
Provides the information necessary to generate a SQL statement to retrieve a list of segments.
Field Summary |
---|
Fields inherited from class mondrian.rolap.agg.AbstractQuerySpec |
---|
countOnly |
Constructor Summary | |
---|---|
SegmentArrayQuerySpec(GroupingSetsList groupingSetsList,
List<StarPredicate> compoundPredicateList)
Creates a SegmentArrayQuerySpec. |
Method Summary | |
---|---|
protected void |
addGroupingFunction(SqlQuery sqlQuery)
|
protected void |
addGroupingSets(SqlQuery sqlQuery)
|
String |
getColumnAlias(int i)
SqlQuery relies on "c" and index. |
StarColumnPredicate |
getColumnPredicate(int i)
Returns the predicate on the i th column. |
RolapStar.Column[] |
getColumns()
|
RolapStar.Measure |
getMeasure(int i)
|
String |
getMeasureAlias(int i)
|
int |
getMeasureCount()
|
protected List<StarPredicate> |
getPredicateList()
Returns a list of predicates not associated with a particular column. |
protected boolean |
isAggregate()
|
Methods inherited from class mondrian.rolap.agg.AbstractQuerySpec |
---|
addMeasure, distinctGenerateSql, extraPredicates, generateSqlQuery, getDistinctMeasureCount, getStar, isOrdered, newSqlQuery, nonDistinctGenerateSql |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
SegmentArrayQuerySpec(GroupingSetsList groupingSetsList, List<StarPredicate> compoundPredicateList)
groupingSetsList
- Collection of grouping setscompoundPredicateList
- list of predicates representing the
compound member constraintsMethod Detail |
---|
public int getMeasureCount()
public RolapStar.Measure getMeasure(int i)
public String getMeasureAlias(int i)
public RolapStar.Column[] getColumns()
public String getColumnAlias(int i)
SqlQuery.addOrderBy(java.lang.String, boolean, boolean, boolean)
public StarColumnPredicate getColumnPredicate(int i)
QuerySpec
i
th column.
If the column is unconstrained, returns
LiteralStarPredicate
(true).
i
- Column ordinal
protected List<StarPredicate> getPredicateList()
AbstractQuerySpec
getPredicateList
in class AbstractQuerySpec
protected void addGroupingFunction(SqlQuery sqlQuery)
addGroupingFunction
in class AbstractQuerySpec
protected void addGroupingSets(SqlQuery sqlQuery)
addGroupingSets
in class AbstractQuerySpec
protected boolean isAggregate()
isAggregate
in class AbstractQuerySpec
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |