mondrian.calc
Interface ListCalc

All Superinterfaces:
Calc
All Known Subinterfaces:
MemberListCalc, TupleListCalc
All Known Implementing Classes:
AbstractListCalc, AbstractMemberListCalc, AbstractTupleListCalc, CrossJoinFunDef.BaseListCalc, CrossJoinFunDef.ImmutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberArrayListMemberListCalc, CrossJoinFunDef.ImmutableListMemberListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberListMemberListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberListCalc, CrossJoinFunDef.MutableListMemberListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberListMemberListCalc, DistinctFunDef.CalcImpl, GenericIterCalc, IterableMemberListCalc, IterableTupleListCalc, NativizeSetFunDef.NativeTupleListCalc, NativizeSetFunDef.NonNativeMemberListCalc, SetFunDef.MemberSetListCalc, SetFunDef.TupleSetListCalc

public interface ListCalc
extends Calc

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

Since:
Sep 27, 2005
Version:
$Id: //open/mondrian/src/main/mondrian/calc/ListCalc.java#8 $
Author:
jhyde

Method Summary
 java.util.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

java.util.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.

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads