mondrian.calc
Interface TupleListCalc

All Superinterfaces:
Calc, ListCalc
All Known Implementing Classes:
AbstractListCalc, AbstractVoidCalc, CacheCalc, ConstantCalc, CrossJoinFunDef.BaseListCalc, CrossJoinFunDef.ImmutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberArrayListMemberListCalc, CrossJoinFunDef.ImmutableListMemberListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberListMemberListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberListCalc, CrossJoinFunDef.MutableListMemberListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberListMemberListCalc, DistinctFunDef.CalcImpl, GenericCalc, MemberValueCalc, SetFunDef.ListSetCalc, TupleValueCalc, ValueCalc

public interface TupleListCalc
extends ListCalc

Expression which evaluates a set of members or tuples to a list.

Since:
Sep 27, 2005
Author:
jhyde
 

Method Summary
 List<Member[]> evaluateTupleList(Evaluator evaluator)
          Evaluates an expression to yield a list of tuples.
 
Methods inherited from interface mondrian.calc.ListCalc
evaluateList
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType
 

Method Detail

evaluateTupleList

List<Member[]> evaluateTupleList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.

Each tuple is represented by an array of members.

The list is immutable if Calc.getResultStyle() yields ResultStyle.MUTABLE_LIST. Otherwise, the caller must not modify the list.

Parameters:
evaluator - Evaluation context
Returns:
A list of tuples, never null.

SourceForge.net_Logo