mondrian.olap.fun
Class TupleFunDef.CalcImpl

java.lang.Object
  extended by mondrian.calc.impl.AbstractCalc
      extended by mondrian.calc.impl.AbstractTupleCalc
          extended by mondrian.olap.fun.TupleFunDef.CalcImpl
All Implemented Interfaces:
Calc, TupleCalc
Enclosing class:
TupleFunDef

public static class TupleFunDef.CalcImpl
extends AbstractTupleCalc

 

Field Summary
 
Fields inherited from class mondrian.calc.impl.AbstractCalc
exp, type
 
Constructor Summary
TupleFunDef.CalcImpl(ResolvedFunCall call, MemberCalc[] memberCalcs)
           
 
Method Summary
 Member[] evaluateTuple(Evaluator evaluator)
          Evaluates this expression to yield a tuple.
 MemberCalc[] getMemberCalcs()
           
 
Methods inherited from class mondrian.calc.impl.AbstractTupleCalc
evaluate, getCalcs
 
Methods inherited from class mondrian.calc.impl.AbstractCalc
accept, anyDepends, anyDependsButFirst, butDepends, dependsOn, getArguments, getName, getResultStyle, getType, 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, getResultStyle, getType
 

Constructor Detail

TupleFunDef.CalcImpl

public TupleFunDef.CalcImpl(ResolvedFunCall call,
                            MemberCalc[] memberCalcs)
Method Detail

evaluateTuple

public Member[] evaluateTuple(Evaluator evaluator)
Description copied from interface: TupleCalc
Evaluates this expression to yield a tuple.

A tuple cannot contain any null members. If any of the members is null, this method must return a null.

Parameters:
evaluator - Evaluation context
Returns:
an array of members, or null to represent the null tuple

getMemberCalcs

public MemberCalc[] getMemberCalcs()

SourceForge.net_Logo