mondrian.calc.impl
Class CacheCalc
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.calc.impl.GenericCalc
mondrian.calc.impl.CacheCalc
- All Implemented Interfaces:
- BooleanCalc, Calc, DateTimeCalc, DimensionCalc, DoubleCalc, HierarchyCalc, IntegerCalc, IterCalc, LevelCalc, ListCalc, MemberCalc, MemberListCalc, StringCalc, TupleCalc, TupleListCalc, VoidCalc
public class CacheCalc
- extends GenericCalc
Calculation which retrieves the value of an underlying calculation
from cache.
- Since:
- Oct 10, 2005
- Author:
- jhyde
-
-
Methods inherited from class mondrian.calc.impl.GenericCalc |
evaluateBoolean, evaluateDateTime, evaluateDimension, evaluateDouble, evaluateHierarchy, evaluateInteger, evaluateIterable, evaluateLevel, evaluateList, evaluateMember, evaluateMemberIterable, evaluateMemberList, evaluateString, evaluateTuple, evaluateTupleIterable, evaluateTupleList, evaluateVoid, numberToDouble |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheCalc
public CacheCalc(Exp exp,
ExpCacheDescriptor key)
evaluate
public Object evaluate(Evaluator evaluator)
- Description copied from interface:
Calc
- Evaluates this expression.
- Parameters:
evaluator
- Provides dimensional context in which to evaluate
this expression
- Returns:
- Result of expression evaluation
getCalcs
public Calc[] getCalcs()
- Description copied from class:
AbstractCalc
- Returns this expression's child expressions.
- Specified by:
getCalcs
in class AbstractCalc