mondrian.olap.fun
Class NativizeSetFunDef.NonNativeTupleListCalc
java.lang.Object
mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
mondrian.olap.fun.NativizeSetFunDef.NonNativeTupleListCalc
- All Implemented Interfaces:
- Calc, ListCalc, TupleListCalc
- Enclosing class:
- NativizeSetFunDef
static class NativizeSetFunDef.NonNativeTupleListCalc
- extends NativizeSetFunDef.NonNativeCalc
- implements TupleListCalc
-
-
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NativizeSetFunDef.NonNativeTupleListCalc
protected NativizeSetFunDef.NonNativeTupleListCalc(TupleListCalc parent)
parent
TupleListCalc parent()
getType
public Type getType()
- Description copied from interface:
Calc
- Returns the type of this expression.
- Specified by:
getType in interface Calc- Overrides:
getType in class NativizeSetFunDef.NonNativeCalc
evaluateTupleList
public List<Member[]> evaluateTupleList(Evaluator evaluator)
- Description copied from interface:
TupleListCalc
- Evaluates an expression to yield a list of tuples.
Each tuple is represented by an array of members.
The list is immutable if Calc.getResultStyle() yields
ResultStyle.MUTABLE_LIST. Otherwise,
the caller must not modify the list.
- Specified by:
evaluateTupleList in interface TupleListCalc
- Parameters:
evaluator - Evaluation context
- Returns:
- A list of tuples, never null.
evaluateList
public List evaluateList(Evaluator evaluator)
- Description copied from interface:
ListCalc
- 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.
- Specified by:
evaluateList in interface ListCalc
- Parameters:
evaluator - Evaluation context
- Returns:
- A list of members or tuples, never null.