Package mondrian.olap.fun
Class MemberOrderKeyFunDef.CalcImpl
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.olap.fun.MemberOrderKeyFunDef.CalcImpl
- All Implemented Interfaces:
Calc
- Enclosing class:
- MemberOrderKeyFunDef
-
Field Summary
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
Constructor Summary
-
Method Summary
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getCalcs, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrap
-
Constructor Details
-
CalcImpl
Creates a Calc- Parameters:
exp
- Source expressionmemberCalc
- Compiled expression to calculate member
-
-
Method Details
-
evaluate
Description copied from interface:Calc
Evaluates this expression.- Parameters:
evaluator
- Provides dimensional context in which to evaluate this expression- Returns:
- Result of expression evaluation
-
getName
Description copied from class:AbstractCalc
Returns the name of this expression type, used when serializing an expression to a string.The default implementation tries to extract a name from a function call, if any, then prints the last part of the class name.
- Overrides:
getName
in classAbstractCalc
-