mondrian.olap.fun
Class NativizeSetFunDef.NativeListCalc

java.lang.Object
  extended by mondrian.calc.impl.AbstractCalc
      extended by mondrian.calc.impl.AbstractListCalc
          extended by mondrian.olap.fun.NativizeSetFunDef.NativeListCalc
All Implemented Interfaces:
Calc, IterCalc, ListCalc
Enclosing class:
NativizeSetFunDef

public static class NativizeSetFunDef.NativeListCalc
extends AbstractListCalc


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

NativizeSetFunDef.NativeListCalc

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

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.

computeTuples

public TupleList computeTuples(Evaluator evaluator)

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