protected abstract static class RolapNativeSet.SetConstraint extends SqlContextConstraint
| Modifier and Type | Field and Description | 
|---|---|
(package private) CrossJoinArg[] | 
args  | 
| Constructor and Description | 
|---|
RolapNativeSet.SetConstraint(CrossJoinArg[] args,
                            RolapEvaluator evaluator,
                            boolean strict)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addConstraint(SqlQuery sqlQuery,
             RolapCube baseCube,
             AggStar aggStar)
Called from LevelMembers: restricts the SQL resultset to the current
 context. 
 | 
Object | 
getCacheKey()
returns a key to cache the result 
 | 
MemberChildrenConstraint | 
getMemberChildrenConstraint(RolapMember parent)
Returns null to prevent the member/childern from being cached. 
 | 
protected boolean | 
isJoinRequired()
Returns whether a join with the fact table is required. 
 | 
addLevelConstraint, addMemberConstraint, addMemberConstraint, getEvaluator, isValidContext, isValidContextCrossJoinArg[] args
RolapNativeSet.SetConstraint(CrossJoinArg[] args, RolapEvaluator evaluator, boolean strict)
protected boolean isJoinRequired()
If there is a crossjoin, we need to join the fact table - even if the evaluator context is empty.
isJoinRequired in class SqlContextConstraintpublic void addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
SqlContextConstraintaddConstraint in interface TupleConstraintaddConstraint in class SqlContextConstraintsqlQuery - the query to modifybaseCube - base cube for virtual cube constraintsaggStar - aggregate star to usepublic MemberChildrenConstraint getMemberChildrenConstraint(RolapMember parent)
getMemberChildrenConstraint in interface TupleConstraintgetMemberChildrenConstraint in class SqlContextConstraintpublic Object getCacheKey()
getCacheKey in interface SqlConstraintgetCacheKey in class SqlContextConstraint