Package 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,LevelCalc,MemberCalc,StringCalc,TupleCalc,VoidCalc
Calculation which retrieves the value of an underlying calculation
from cache.
- Since:
- Oct 10, 2005
- Author:
- jhyde
-
Field Summary
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mondrian.calc.impl.GenericCalc
evaluateBoolean, evaluateDateTime, evaluateDimension, evaluateDouble, evaluateHierarchy, evaluateInteger, evaluateLevel, evaluateMember, evaluateString, evaluateTuple, evaluateVoid, numberToDoubleMethods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mondrian.calc.Calc
accept, dependsOn, getResultStyle, getType, isWrapperFor, unwrap
-
Constructor Details
-
CacheCalc
-
-
Method Details
-
evaluate
Description copied from interface:CalcEvaluates this expression.- Parameters:
evaluator- Provides dimensional context in which to evaluate this expression- Returns:
- Result of expression evaluation
-
getCalcs
Description copied from class:AbstractCalcReturns this expression's child expressions.- Overrides:
getCalcsin classAbstractCalc
-