Package mondrian.calc.impl
Class AbstractMemberCalc
- java.lang.Object
-
- mondrian.calc.impl.AbstractCalc
-
- mondrian.calc.impl.AbstractMemberCalc
-
- All Implemented Interfaces:
Calc
,MemberCalc
- Direct Known Subclasses:
HierarchyCurrentMemberFunDef.CalcImpl
,HierarchyCurrentMemberFunDef.FixedCalcImpl
public abstract class AbstractMemberCalc extends AbstractCalc implements MemberCalc
Abstract implementation of theMemberCalc
interface.The derived class must implement the
MemberCalc.evaluateMember(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
AbstractMemberCalc(Exp exp, Calc[] calcs)
Creates an AbstractMemberCalc.
-
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.MemberCalc
evaluateMember
-
-