mondrian.olap.fun
Class SetFunDef.ExprTupleIterCalc

java.lang.Object
  extended by mondrian.calc.impl.AbstractCalc
      extended by mondrian.calc.impl.AbstractTupleIterCalc
          extended by mondrian.olap.fun.SetFunDef.ExprTupleIterCalc
All Implemented Interfaces:
Calc, IterCalc, TupleIterCalc
Enclosing class:
SetFunDef

public static class SetFunDef.ExprTupleIterCalc
extends AbstractTupleIterCalc

Compiled expression that evaluates one or more expressions, each of which yields a tuple or a set of tuples, and returns the result as an tuple iterator.


Field Summary
 
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
 
Constructor Summary
SetFunDef.ExprTupleIterCalc(Exp exp, Exp[] args, ExpCompiler compiler, java.util.List<ResultStyle> resultStyles)
           
 
Method Summary
 java.lang.Iterable<Member[]> evaluateTupleIterable(Evaluator evaluator)
          Evaluates an expression to yield an iterator over tuples (arrays of members).
 TupleIterCalc[] getCalcs()
          Returns this expression's child expressions.
 
Methods inherited from class mondrian.calc.impl.AbstractTupleIterCalc
evaluate, evaluateIterable, getResultStyle, getType, toString
 
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, dependsOn, getArguments, getName, simplifyEvaluator
 
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
 

Constructor Detail

SetFunDef.ExprTupleIterCalc

public SetFunDef.ExprTupleIterCalc(Exp exp,
                                   Exp[] args,
                                   ExpCompiler compiler,
                                   java.util.List<ResultStyle> resultStyles)
Method Detail

getCalcs

public TupleIterCalc[] getCalcs()
Description copied from class: AbstractCalc
Returns this expression's child expressions.

Overrides:
getCalcs in class AbstractCalc

evaluateTupleIterable

public java.lang.Iterable<Member[]> evaluateTupleIterable(Evaluator evaluator)
Description copied from interface: TupleIterCalc
Evaluates an expression to yield an iterator over tuples (arrays of members).

Parameters:
evaluator - Evaluation context
Returns:
A tuple iterator, never null.

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads