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
ConstructorsConstructorDescriptionExprIterCalc(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, toStringMethods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, isWrapperFor, simplifyEvaluator, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mondrian.calc.Calc
accept, dependsOn, isWrapperFor, unwrap
-
Constructor Details
-
ExprIterCalc
-
-
Method Details
-
getCalcs
Description copied from class:AbstractCalcReturns this expression's child expressions.- Overrides:
getCalcsin classAbstractCalc
-
evaluateIterable
Description copied from interface:IterCalcEvaluates 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.
-