Package mondrian.olap.fun
Class TupleFunDef.CalcImpl
- java.lang.Object
-
- mondrian.calc.impl.AbstractCalc
-
- mondrian.calc.impl.AbstractTupleCalc
-
- mondrian.olap.fun.TupleFunDef.CalcImpl
-
- Enclosing class:
- TupleFunDef
public static class TupleFunDef.CalcImpl extends AbstractTupleCalc
-
-
Field Summary
-
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
-
Constructor Summary
Constructors Constructor Description CalcImpl(ResolvedFunCall call, MemberCalc[] memberCalcs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Member[]
evaluateTuple(Evaluator evaluator)
Evaluates this expression to yield a tuple.MemberCalc[]
getMemberCalcs()
-
Methods inherited from class mondrian.calc.impl.AbstractTupleCalc
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(ResolvedFunCall call, MemberCalc[] memberCalcs)
-
-
Method Detail
-
evaluateTuple
public Member[] evaluateTuple(Evaluator evaluator)
Description copied from interface:TupleCalc
Evaluates this expression to yield a tuple.A tuple cannot contain any null members. If any of the members is null, this method must return a null.
- Parameters:
evaluator
- Evaluation context- Returns:
- an array of members, or null to represent the null tuple
-
getMemberCalcs
public MemberCalc[] getMemberCalcs()
-
-