mondrian.olap.fun
Class SetFunDef.SetListCalc
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.calc.impl.AbstractListCalc
mondrian.olap.fun.SetFunDef.SetListCalc
- All Implemented Interfaces:
- Calc, IterCalc, ListCalc
- Enclosing class:
- SetFunDef
public static class SetFunDef.SetListCalc
- extends AbstractListCalc
Compiled expression to implement the MDX set function, { ...
}, applied to a set of tuples, as a list.
The set function can contain expressions which yield sets together
with expressions which yield individual tuples, provided that
they all have the same type. It automatically removes null
or partially-null tuples from the list.
Also, does not process high-cardinality dimensions specially.
| Methods inherited from class mondrian.calc.impl.AbstractCalc |
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, isWrapperFor, simplifyEvaluator, unwrap |
SetFunDef.SetListCalc
public SetFunDef.SetListCalc(Exp exp,
Exp[] args,
ExpCompiler compiler,
List<ResultStyle> resultStyles)
getCalcs
public Calc[] getCalcs()
- Description copied from class:
AbstractCalc
- Returns this expression's child expressions.
- Overrides:
getCalcs in class AbstractCalc
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() yields
ResultStyle.MUTABLE_LIST. Otherwise,
the caller must not modify the list.
- Parameters:
evaluator - Evaluation context
- Returns:
- A list of tuples, never null.