mondrian.olap.fun
Class NativizeSetFunDef.NativeTupleListCalc

java.lang.Object
  extended by mondrian.calc.impl.AbstractCalc
      extended by mondrian.calc.impl.AbstractTupleListCalc
          extended by mondrian.olap.fun.NativizeSetFunDef.NativeTupleListCalc
All Implemented Interfaces:
Calc, ListCalc, TupleListCalc
Enclosing class:
NativizeSetFunDef

public static class NativizeSetFunDef.NativeTupleListCalc
extends AbstractTupleListCalc


Field Summary
 
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
 
Constructor Summary
protected NativizeSetFunDef.NativeTupleListCalc(ResolvedFunCall call, Calc[] calcs, ExpCompiler compiler, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap, Exp originalExp)
           
 
Method Summary
 List<Member[]> computeTuples(Evaluator evaluator)
           
 List<Member[]> evaluateTupleList(Evaluator evaluator)
          Evaluates an expression to yield a list of tuples.
 
Methods inherited from class mondrian.calc.impl.AbstractTupleListCalc
evaluate, evaluateList, getResultStyle, getType, toString
 
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, dependsOn, getArguments, getCalcs, 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

NativizeSetFunDef.NativeTupleListCalc

protected NativizeSetFunDef.NativeTupleListCalc(ResolvedFunCall call,
                                                Calc[] calcs,
                                                ExpCompiler compiler,
                                                mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap,
                                                Exp originalExp)
Method Detail

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.

Parameters:
evaluator - Evaluation context
Returns:
A list of tuples, never null.

computeTuples

public List<Member[]> computeTuples(Evaluator evaluator)

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