mondrian.olap.fun
Class CrossJoinFunDef.BaseListCalc

java.lang.Object
  extended by mondrian.calc.impl.AbstractCalc
      extended by mondrian.calc.impl.AbstractListCalc
          extended by mondrian.olap.fun.CrossJoinFunDef.BaseListCalc
All Implemented Interfaces:
Calc, ListCalc, MemberListCalc, TupleListCalc
Direct Known Subclasses:
CrossJoinFunDef.ImmutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberArrayListMemberListCalc, CrossJoinFunDef.ImmutableListMemberListMemberArrayListCalc, CrossJoinFunDef.ImmutableListMemberListMemberListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberArrayListMemberListCalc, CrossJoinFunDef.MutableListMemberListMemberArrayListCalc, CrossJoinFunDef.MutableListMemberListMemberListCalc
Enclosing class:
CrossJoinFunDef

abstract class CrossJoinFunDef.BaseListCalc
extends AbstractListCalc


Field Summary
 
Fields inherited from class mondrian.calc.impl.AbstractListCalc
tuple
 
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
 
Constructor Summary
protected CrossJoinFunDef.BaseListCalc(ResolvedFunCall call, Calc[] calcs, boolean mutable)
           
 
Method Summary
 java.util.List<Member[]> evaluateList(Evaluator evaluator)
          Evaluates an expression to yield a list of members or tuples.
protected abstract  java.util.List<Member[]> makeList(java.util.List l1, java.util.List l2)
           
 
Methods inherited from class mondrian.calc.impl.AbstractListCalc
evaluate, evaluateEitherList, evaluateMemberList, evaluateTupleList, getResultStyle, getType
 
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, toString, wait, wait, wait
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn
 

Constructor Detail

CrossJoinFunDef.BaseListCalc

protected CrossJoinFunDef.BaseListCalc(ResolvedFunCall call,
                                       Calc[] calcs,
                                       boolean mutable)
Method Detail

evaluateList

public java.util.List<Member[]> 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.

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

makeList

protected abstract java.util.List<Member[]> makeList(java.util.List l1,
                                                     java.util.List l2)

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