Package mondrian.calc
Interface DoubleCalc
-
- All Superinterfaces:
Calc
- All Known Implementing Classes:
AbstractDoubleCalc
,AbstractVoidCalc
,AggregateFunDef.AggregateCalc
,CacheCalc
,ConstantCalc
,GenericCalc
,MemberArrayValueCalc
,MemberValueCalc
,TupleValueCalc
,ValueCalc
public interface DoubleCalc extends Calc
Compiled expression whose result is adouble
.When implementing this interface, it is convenient to extend
AbstractDoubleCalc
, but it is not required.- Since:
- Sep 27, 2005
- Author:
- jhyde
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
evaluateDouble(Evaluator evaluator)
Evaluates this expression to yield adouble
value.-
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
-
-
-
-
Method Detail
-
evaluateDouble
double evaluateDouble(Evaluator evaluator)
Evaluates this expression to yield adouble
value. If the result is null, returns the specialFunUtil.DoubleNull
value.- Parameters:
evaluator
- Evaluation context- Returns:
- evaluation result
-
-