Package mondrian.olap.fun
Class SetFunDef.ExprIterCalc
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.calc.impl.AbstractIterCalc
mondrian.olap.fun.SetFunDef.ExprIterCalc
- Enclosing class:
- SetFunDef
Compiled expression that evaluates one or more expressions, each of which
yields a tuple or a set of tuples, and returns the result as a tuple
iterator.
-
Field Summary
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
Constructor Summary
ConstructorDescriptionExprIterCalc
(Exp exp, Exp[] args, ExpCompiler compiler, List<ResultStyle> resultStyles) -
Method Summary
Modifier and TypeMethodDescriptionevaluateIterable
(Evaluator evaluator) Evaluates an expression to yield an Iterable of members or tuples.IterCalc[]
getCalcs()
Returns this expression's child expressions.Methods inherited from class mondrian.calc.impl.AbstractIterCalc
evaluate, getResultStyle, getType, toString
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, isWrapperFor, simplifyEvaluator, unwrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, isWrapperFor, unwrap
-
Constructor Details
-
ExprIterCalc
-
-
Method Details
-
getCalcs
Description copied from class:AbstractCalc
Returns this expression's child expressions.- Overrides:
getCalcs
in classAbstractCalc
-
evaluateIterable
Description copied from interface:IterCalc
Evaluates an expression to yield an Iterable of members or tuples.The Iterable is immutable.
- Parameters:
evaluator
- Evaluation context- Returns:
- An Iterable of members or tuples, never null.
-