mondrian.olap.fun
Class NativizeSetFunDef.NonNativeTupleListCalc

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

static class NativizeSetFunDef.NonNativeTupleListCalc
extends NativizeSetFunDef.NonNativeCalc
implements TupleListCalc

 

Field Summary
 
Fields inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
nativeEnabled, parent
 
Constructor Summary
protected NativizeSetFunDef.NonNativeTupleListCalc(TupleListCalc parent)
           
 
Method Summary
 List evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of members or tuples.
 List<Member[]> evaluateTupleList(Evaluator evaluator)
          Evaluates an expression to yield a list of tuples.
 Type getType()
          Returns the type of this expression.
(package private)  TupleListCalc parent()
           
 
Methods inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
accept, dependsOn, evaluate, getResultStyle
 
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
 

Constructor Detail

NativizeSetFunDef.NonNativeTupleListCalc

protected NativizeSetFunDef.NonNativeTupleListCalc(TupleListCalc parent)
Method Detail

parent

TupleListCalc parent()

getType

public Type getType()
Description copied from interface: Calc
Returns the type of this expression.

Specified by:
getType in interface Calc
Overrides:
getType in class NativizeSetFunDef.NonNativeCalc

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.

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

evaluateList

public List evaluateList(Evaluator evaluator)
Description copied from interface: ListCalc
Evaluates an expression to yield a list of members or 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 members or tuples, never null.

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