|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TupleConstraint
Restricts the SQL result of TupleReader
. This is also
used by
SqlMemberSource.getMembersInLevel(RolapLevel, int, int, TupleConstraint)
.
TupleReader
,
SqlMemberSource
Method Summary | |
---|---|
void |
addConstraint(SqlQuery sqlQuery,
RolapCube baseCube)
Modifies a Level.Members query. |
void |
addLevelConstraint(SqlQuery query,
RolapCube baseCube,
AggStar aggStar,
RolapLevel level)
Will be called multiple times for every "group by" level in Level.Members query, i.e. |
Evaluator |
getEvaluator()
|
MemberChildrenConstraint |
getMemberChildrenConstraint(RolapMember parent)
When the members of a level are fetched, the result is grouped by into parents and their children. |
Methods inherited from interface mondrian.rolap.sql.SqlConstraint |
---|
getCacheKey |
Method Detail |
---|
void addConstraint(SqlQuery sqlQuery, RolapCube baseCube)
sqlQuery
- the query to modifybaseCube
- base cube for virtual cube constraintsvoid addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
query
- the query to modifybaseCube
- base cube for virtual cube constraintsaggStar
- Aggregate table, or null if query is against fact tablelevel
- the level which is accessed in the Level.Members queryMemberChildrenConstraint getMemberChildrenConstraint(RolapMember parent)
The returned MemberChildrenConstraint must be one that would have returned the same children for the given parent as the MemberLevel query has found for that parent.
If null is returned, the parent/children will not be cached (but the level/members still will be).
Evaluator getEvaluator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |