mondrian.olap.fun
Class NativizeSetFunDef.NonNativeListCalc

java.lang.Object
  extended by mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
      extended by mondrian.olap.fun.NativizeSetFunDef.NonNativeListCalc
All Implemented Interfaces:
Calc, IterCalc, ListCalc
Enclosing class:
NativizeSetFunDef

static class NativizeSetFunDef.NonNativeListCalc
extends NativizeSetFunDef.NonNativeCalc
implements ListCalc


Field Summary
 
Fields inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
nativeEnabled, parent
 
Constructor Summary
protected NativizeSetFunDef.NonNativeListCalc(ListCalc parent, boolean highCardinality)
           
 
Method Summary
 TupleIterable evaluateIterable(Evaluator evaluator)
          Evaluates an expression to yield an Iterable of members or tuples.
 TupleList evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of tuples.
(package private)  ListCalc parent()
           
 
Methods inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType, isWrapperFor, unwrap
 

Constructor Detail

NativizeSetFunDef.NonNativeListCalc

protected NativizeSetFunDef.NonNativeListCalc(ListCalc parent,
                                              boolean highCardinality)
Method Detail

parent

ListCalc parent()

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.

Specified by:
evaluateList in interface ListCalc
Parameters:
evaluator - Evaluation context
Returns:
A list of tuples, never null.

evaluateIterable

public TupleIterable evaluateIterable(Evaluator evaluator)
Description copied from interface: IterCalc
Evaluates an expression to yield an Iterable of members or tuples.

The Iterable is immutable.

Specified by:
evaluateIterable in interface IterCalc
Parameters:
evaluator - Evaluation context
Returns:
An Iterable of members or tuples, never null.

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