Package mondrian.calc
Interface ListCalc
-
- All Known Implementing Classes:
AbstractListCalc
,GenericIterCalc
,IterableListCalc
,NativizeSetFunDef.NativeListCalc
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TupleList
evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.-
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
-
Methods inherited from interface mondrian.calc.IterCalc
evaluateIterable
-
-
-
-
Method Detail
-
evaluateList
TupleList evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.The list is immutable if
Calc.getResultStyle()
yieldsResultStyle.MUTABLE_LIST
. Otherwise, the caller must not modify the list.- Parameters:
evaluator
- Evaluation context- Returns:
- A list of tuples, never null.
-
-