Package mondrian.calc
Interface TupleCalc
- All Superinterfaces:
Calc
- All Known Implementing Classes:
AbstractTupleCalc,AbstractVoidCalc,AggregateFunDef.AggregateCalc,CacheCalc,ConstantCalc,GenericCalc,MemberArrayValueCalc,MemberValueCalc,TupleFunDef.CalcImpl,TupleValueCalc,ValueCalc
Expression which yields a tuple.
The tuple is represented as an array of Member objects,
null to represent the null tuple.
When implementing this interface, it is convenient to extend
AbstractTupleCalc, but it is not required.
- Since:
- Sep 27, 2005
- Author:
- jhyde
-
Method Summary
Modifier and TypeMethodDescriptionMember[]evaluateTuple(Evaluator evaluator) Evaluates this expression to yield a tuple.Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
-
Method Details
-
evaluateTuple
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
-