Package mondrian.calc.impl
Class AbstractVoidCalc
- java.lang.Object
- 
- mondrian.calc.impl.AbstractCalc
- 
- mondrian.calc.impl.GenericCalc
- 
- mondrian.calc.impl.AbstractVoidCalc
 
 
 
- 
- All Implemented Interfaces:
- BooleanCalc,- Calc,- DateTimeCalc,- DimensionCalc,- DoubleCalc,- HierarchyCalc,- IntegerCalc,- LevelCalc,- MemberCalc,- StringCalc,- TupleCalc,- VoidCalc
 
 public class AbstractVoidCalc extends GenericCalc implements VoidCalc Abstract implementation of theVoidCalcinterface.The derived class must implement the GenericCalc.evaluateVoid(mondrian.olap.Evaluator)method, and theevaluate(mondrian.olap.Evaluator)method will call it and returnnull.- Since:
- Sep 29, 2005
- Author:
- jhyde
 
- 
- 
Field Summary- 
Fields inherited from class mondrian.calc.impl.AbstractCalcexp, type
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractVoidCalc(Exp exp, Calc[] calcs)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectevaluate(Evaluator evaluator)Evaluates this expression.Calc[]getCalcs()Returns this expression's child expressions.- 
Methods inherited from class mondrian.calc.impl.GenericCalcevaluateBoolean, evaluateDateTime, evaluateDimension, evaluateDouble, evaluateHierarchy, evaluateInteger, evaluateLevel, evaluateMember, evaluateString, evaluateTuple, evaluateVoid, numberToDouble
 - 
Methods inherited from class mondrian.calc.impl.AbstractCalcaccept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrap
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface mondrian.calc.Calcaccept, dependsOn, getResultStyle, getType, isWrapperFor, unwrap
 - 
Methods inherited from interface mondrian.calc.VoidCalcevaluateVoid
 
- 
 
- 
- 
- 
Method Detail- 
evaluatepublic Object evaluate(Evaluator evaluator) Description copied from interface:CalcEvaluates this expression.
 - 
getCalcspublic Calc[] getCalcs() Description copied from class:AbstractCalcReturns this expression's child expressions.- Overrides:
- getCalcsin class- AbstractCalc
 
 
- 
 
-