class MemberExcludeConstraint extends Object implements TupleConstraint
| Constructor and Description | 
|---|
MemberExcludeConstraint(List<RolapMember> excludes,
                       RolapLevel level,
                       RolapNativeSet.SetConstraint csc)
Creates a  
MemberExcludeConstraint. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addConstraint(SqlQuery sqlQuery,
             RolapCube baseCube,
             AggStar aggStar)
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. 
 | 
boolean | 
equals(Object obj)  | 
Object | 
getCacheKey()
Returns a key that becomes part of the key for caching the
 result of the SQL query. 
 | 
Evaluator | 
getEvaluator()  | 
MemberChildrenConstraint | 
getMemberChildrenConstraint(RolapMember parent)
When the members of a level are fetched, the result is grouped
 by into parents and their children. 
 | 
int | 
hashCode()  | 
boolean | 
supportsAggTables()  | 
String | 
toString()  | 
public MemberExcludeConstraint(List<RolapMember> excludes, RolapLevel level, RolapNativeSet.SetConstraint csc)
MemberExcludeConstraint.public void addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
TupleConstraintaddLevelConstraint in interface TupleConstraintquery - 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 querypublic Object getCacheKey()
SqlConstraintgetCacheKey in interface SqlConstraintpublic MemberChildrenConstraint getMemberChildrenConstraint(RolapMember parent)
TupleConstraintThe 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).
getMemberChildrenConstraint in interface TupleConstraintpublic void addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
TupleConstraintaddConstraint in interface TupleConstraintsqlQuery - the query to modifybaseCube - base cube for virtual cube constraintsaggStar - aggregate star to usepublic Evaluator getEvaluator()
getEvaluator in interface TupleConstraintpublic boolean supportsAggTables()
supportsAggTables in interface TupleConstraint