Package mondrian.olap.fun
Class NativizeSetFunDef.NonNativeListCalc
- java.lang.Object
-
- mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
-
- mondrian.olap.fun.NativizeSetFunDef.NonNativeListCalc
-
- Enclosing class:
- NativizeSetFunDef
static class NativizeSetFunDef.NonNativeListCalc extends NativizeSetFunDef.NonNativeCalc implements ListCalc
-
-
Field Summary
-
Fields inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
nativeEnabled, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NonNativeListCalc(ListCalc parent, boolean highCardinality)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TupleIterable
evaluateIterable(Evaluator evaluator)
Evaluates an expression to yield an Iterable of members or tuples.TupleList
evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.(package private) ListCalc
parent()
-
Methods inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
-
-
-
-
Constructor Detail
-
NonNativeListCalc
protected NonNativeListCalc(ListCalc parent, boolean highCardinality)
-
-
Method Detail
-
parent
ListCalc parent()
-
evaluateList
public TupleList evaluateList(Evaluator evaluator)
Description copied from interface:ListCalc
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.- Specified by:
evaluateList
in interfaceListCalc
- Parameters:
evaluator
- Evaluation context- Returns:
- A list of tuples, never null.
-
evaluateIterable
public TupleIterable evaluateIterable(Evaluator evaluator)
Description copied from interface:IterCalc
Evaluates an expression to yield an Iterable of members or tuples.The Iterable is immutable.
- Specified by:
evaluateIterable
in interfaceIterCalc
- Parameters:
evaluator
- Evaluation context- Returns:
- An Iterable of members or tuples, never null.
-
-