mondrian.calc
Interface ListCalc

All Superinterfaces:
Calc
All Known Subinterfaces:
MemberListCalc, TupleListCalc
All Known Implementing Classes:
AbstractListCalc, AbstractMemberListCalc, 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 ListCalc
extends Calc

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

Since:
Sep 27, 2005
Author:
jhyde
 

Method Summary
 List evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of members or tuples.
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType
 

Method Detail

evaluateList

List evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of members or tuples.

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 members or tuples, never null.

SourceForge.net_Logo