mondrian.olap.fun
Class NativizeSetFunDef.NonNativeMemberListCalc

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

static class NativizeSetFunDef.NonNativeMemberListCalc
extends NativizeSetFunDef.NonNativeCalc
implements MemberListCalc


Field Summary
 
Fields inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
parent
 
Constructor Summary
protected NativizeSetFunDef.NonNativeMemberListCalc(MemberListCalc parent)
           
 
Method Summary
 java.util.List evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of members or tuples.
 java.util.List<Member> evaluateMemberList(Evaluator evaluator)
          Evaluates an expression to yield a list of members.
(package private)  MemberListCalc parent()
           
 
Methods inherited from class mondrian.olap.fun.NativizeSetFunDef.NonNativeCalc
accept, dependsOn, evaluate, getResultStyle, getType
 
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
 

Constructor Detail

NativizeSetFunDef.NonNativeMemberListCalc

protected NativizeSetFunDef.NonNativeMemberListCalc(MemberListCalc parent)
Method Detail

parent

MemberListCalc parent()

evaluateMemberList

public java.util.List<Member> evaluateMemberList(Evaluator evaluator)
Description copied from interface: MemberListCalc
Evaluates an expression to yield a list of members.

The list is immutable if Calc.getResultStyle() yields ResultStyle.MUTABLE_LIST. Otherwise, the caller must not modify the list.

Specified by:
evaluateMemberList in interface MemberListCalc
Parameters:
evaluator - Evaluation context
Returns:
A list of members, never null.

evaluateList

public java.util.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