Package mondrian.olap.fun
Class CrossJoinFunDef.BaseListCalc
- java.lang.Object
-
- mondrian.calc.impl.AbstractCalc
-
- mondrian.calc.impl.AbstractListCalc
-
- mondrian.olap.fun.CrossJoinFunDef.BaseListCalc
-
- Direct Known Subclasses:
CrossJoinFunDef.ImmutableListCalc
,CrossJoinFunDef.MutableListCalc
- Enclosing class:
- CrossJoinFunDef
abstract class CrossJoinFunDef.BaseListCalc extends AbstractListCalc
-
-
Field Summary
-
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseListCalc(ResolvedFunCall call, Calc[] calcs, boolean mutable)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TupleList
evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.protected abstract TupleList
makeList(TupleList l1, TupleList l2)
-
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
-
BaseListCalc
protected BaseListCalc(ResolvedFunCall call, Calc[] calcs, boolean mutable)
-
-
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()
yieldsResultStyle.MUTABLE_LIST
. Otherwise, the caller must not modify the list.- Parameters:
evaluator
- Evaluation context- Returns:
- A list of tuples, never null.
-
-