mondrian.calc
Interface ListCalc

All Superinterfaces:
Calc, IterCalc
All Known Implementing Classes:
AbstractListCalc, CrossJoinFunDef.BaseListCalc, CrossJoinFunDef.ImmutableListCalc, CrossJoinFunDef.MutableListCalc, DistinctFunDef.CalcImpl, GenericIterCalc, IterableListCalc, NativizeSetFunDef.NativeListCalc, NativizeSetFunDef.NonNativeListCalc, SetFunDef.SetListCalc

public interface ListCalc
extends IterCalc

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

Since:
Sep 27, 2005
Author:
jhyde

Method Summary
 TupleList evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of tuples.
 
Methods inherited from interface mondrian.calc.IterCalc
evaluateIterable
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
 

Method Detail

evaluateList

TupleList evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of 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 tuples, never null.

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