Package mondrian.olap
Class ExpCacheDescriptor
java.lang.Object
mondrian.olap.ExpCacheDescriptor
Holds information necessary to add an expression to the expression result
cache (see
Evaluator.getCachedResult(ExpCacheDescriptor)
).- Since:
- Aug 16, 2005
- Author:
- jhyde
-
Constructor Summary
ConstructorDescriptionExpCacheDescriptor
(Exp exp, Calc calc, Evaluator evaluator) Creates a descriptor with a given compiled expression.ExpCacheDescriptor
(Exp exp, ExpCompiler compiler) Creates a descriptor.ExpCacheDescriptor
(Exp exp, Evaluator evaluator) Creates a descriptor. -
Method Summary
-
Constructor Details
-
ExpCacheDescriptor
Creates a descriptor with a given compiled expression.- Parameters:
exp
- Expressioncalc
- Compiled expressionevaluator
- Evaluator
-
ExpCacheDescriptor
Creates a descriptor.- Parameters:
exp
- Expressionevaluator
- Evaluator
-
ExpCacheDescriptor
Creates a descriptor.- Parameters:
exp
- Expressioncompiler
- Compiler
-
-
Method Details
-
getExp
-
getCalc
-
evaluate
-
getDependentHierarchyOrdinals
public int[] getDependentHierarchyOrdinals()Returns the ordinals of the hierarchies which this expression is dependent upon. When the cache descriptor is used to generate a cache key, the key will consist of a member from each of these hierarchies.
-