Package mondrian.calc.impl
Class AbstractHierarchyCalc
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.calc.impl.AbstractHierarchyCalc
- All Implemented Interfaces:
Calc
,HierarchyCalc
- Direct Known Subclasses:
LevelHierarchyFunDef.CalcImpl
,MemberHierarchyFunDef.CalcImpl
Abstract implementation of the
HierarchyCalc
interface.
The derived class must
implement the HierarchyCalc.evaluateHierarchy(mondrian.olap.Evaluator)
method,
and the evaluate(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
ModifierConstructorDescriptionprotected
AbstractHierarchyCalc
(Exp exp, Calc[] calcs) Creates an AbstractHierarchyCalc. -
Method Summary
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.HierarchyCalc
evaluateHierarchy
-
Constructor Details
-
AbstractHierarchyCalc
Creates an AbstractHierarchyCalc.- Parameters:
exp
- Source expressioncalcs
- Child compiled expressions
-
-
Method Details