Package mondrian.calc.impl
Class AbstractDimensionCalc
- java.lang.Object
-
- mondrian.calc.impl.AbstractCalc
-
- mondrian.calc.impl.AbstractDimensionCalc
-
- All Implemented Interfaces:
Calc
,DimensionCalc
- Direct Known Subclasses:
HierarchyDimensionFunDef.CalcImpl
public abstract class AbstractDimensionCalc extends AbstractCalc implements DimensionCalc
Abstract implementation of theDimensionCalc
interface.The derived class must implement the
DimensionCalc.evaluateDimension(mondrian.olap.Evaluator)
method, and theevaluate(mondrian.olap.Evaluator)
method will call it.- Since:
- Sep 26, 2005
- Author:
- jhyde
-
-
Field Summary
-
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDimensionCalc(Exp exp, Calc[] calcs)
Creates an AbstractDimensionCalc.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Evaluator evaluator)
Evaluates this expression.-
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getCalcs, getName, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, getResultStyle, getType, isWrapperFor, unwrap
-
Methods inherited from interface mondrian.calc.DimensionCalc
evaluateDimension
-
-