Package mondrian.olap.fun
Class HierarchyDimensionFunDef.CalcImpl
- java.lang.Object
-
- mondrian.calc.impl.AbstractCalc
-
- mondrian.calc.impl.AbstractDimensionCalc
-
- mondrian.olap.fun.HierarchyDimensionFunDef.CalcImpl
-
- All Implemented Interfaces:
Calc
,DimensionCalc
- Enclosing class:
- HierarchyDimensionFunDef
public static class HierarchyDimensionFunDef.CalcImpl extends AbstractDimensionCalc
-
-
Field Summary
-
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
-
Constructor Summary
Constructors Constructor Description CalcImpl(Exp exp, HierarchyCalc hierarchyCalc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension
evaluateDimension(Evaluator evaluator)
Evaluates this expression to yield a dimension.-
Methods inherited from class mondrian.calc.impl.AbstractDimensionCalc
evaluate
-
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
-
-
-
-
Constructor Detail
-
CalcImpl
public CalcImpl(Exp exp, HierarchyCalc hierarchyCalc)
-
-
Method Detail
-
evaluateDimension
public Dimension evaluateDimension(Evaluator evaluator)
Description copied from interface:DimensionCalc
Evaluates this expression to yield a dimension.Never returns null.
- Parameters:
evaluator
- Evaluation context- Returns:
- a dimension
-
-