public interface TupleConstraint extends SqlConstraint
TupleReader
. This is also
used by
SqlMemberSource.getMembersInLevel(RolapLevel, TupleConstraint)
.TupleReader
,
SqlMemberSource
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
Modifies a Level.Members query.
|
void |
addLevelConstraint(SqlQuery sqlQuery,
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.
|
boolean |
supportsAggTables() |
getCacheKey
void addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
sqlQuery
- the query to modifyaggStar
- aggregate star to usebaseCube
- base cube for virtual cube constraintsvoid addLevelConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapLevel level)
sqlQuery
- 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()
boolean supportsAggTables()
Copyright © 2018 Hitachi Vantara. All rights reserved.