mondrian.olap
Class ExpCacheDescriptor
java.lang.Object
mondrian.olap.ExpCacheDescriptor
public class ExpCacheDescriptor
- extends Object
Holds information necessary to add an expression to the expression result
cache (see Evaluator.getCachedResult(ExpCacheDescriptor)
).
- Since:
- Aug 16, 2005
- Author:
- jhyde
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpCacheDescriptor
public ExpCacheDescriptor(Exp exp,
Calc calc,
Evaluator evaluator)
ExpCacheDescriptor
public ExpCacheDescriptor(Exp exp,
Evaluator evaluator)
- Creates a descriptor.
ExpCacheDescriptor
public ExpCacheDescriptor(Exp exp,
ExpCompiler compiler)
- Creates a descriptor.
getExp
public Exp getExp()
getCalc
public Calc getCalc()
evaluate
public Object evaluate(Evaluator evaluator)
getDependentDimensionOrdinals
public int[] getDependentDimensionOrdinals()
- Returns the ordinals of the dimensions 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 dimensions.