|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.SqlContextConstraint
mondrian.rolap.RolapNativeSet.SetConstraint
mondrian.rolap.RolapNativeFilter.FilterConstraint
static class RolapNativeFilter.FilterConstraint
Field Summary | |
---|---|
(package private) Exp |
filterExpr
|
Fields inherited from class mondrian.rolap.RolapNativeSet.SetConstraint |
---|
args |
Fields inherited from class mondrian.rolap.SqlContextConstraint |
---|
cacheKey |
Constructor Summary | |
---|---|
RolapNativeFilter.FilterConstraint(RolapNativeSet.CrossJoinArg[] args,
RolapEvaluator evaluator,
Exp filterExpr)
|
Method Summary | |
---|---|
void |
addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
Called from LevelMembers: restricts the SQL resultset to the current context. |
java.lang.Object |
getCacheKey()
returns a key to cache the result |
protected boolean |
isJoinRequired()
Returns whether a join with the fact table is required. |
Methods inherited from class mondrian.rolap.RolapNativeSet.SetConstraint |
---|
getMemberChildrenConstraint |
Methods inherited from class mondrian.rolap.SqlContextConstraint |
---|
addLevelConstraint, addMemberConstraint, addMemberConstraint, getEvaluator, isValidContext, isValidContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Exp filterExpr
Constructor Detail |
---|
public RolapNativeFilter.FilterConstraint(RolapNativeSet.CrossJoinArg[] args, RolapEvaluator evaluator, Exp filterExpr)
Method Detail |
---|
protected boolean isJoinRequired()
If there is a crossjoin, we need to join the fact table - even if the evaluator context is empty.
A FilterConstraint always needs to join the fact table because we want to evaluate the filter expression against a fact.
isJoinRequired
in class RolapNativeSet.SetConstraint
public void addConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar)
SqlContextConstraint
addConstraint
in interface TupleConstraint
addConstraint
in class RolapNativeSet.SetConstraint
sqlQuery
- the query to modifybaseCube
- base cube for virtual cube constraintsaggStar
- aggregate star to usepublic java.lang.Object getCacheKey()
RolapNativeSet.SetConstraint
getCacheKey
in interface SqlConstraint
getCacheKey
in class RolapNativeSet.SetConstraint
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |