|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.calc.impl.AbstractCalc
mondrian.calc.impl.GenericCalc
mondrian.calc.impl.AbstractVoidCalc
public class AbstractVoidCalc
Abstract implementation of the VoidCalc
interface.
The derived class must
implement the GenericCalc.evaluateVoid(mondrian.olap.Evaluator)
method,
and the evaluate(mondrian.olap.Evaluator)
method will call it
and return null
.
Field Summary |
---|
Fields inherited from class mondrian.calc.impl.AbstractCalc |
---|
exp, type |
Constructor Summary | |
---|---|
protected |
AbstractVoidCalc(Exp exp,
Calc[] calcs)
|
Method Summary | |
---|---|
java.lang.Object |
evaluate(Evaluator evaluator)
Evaluates this expression. |
Calc[] |
getCalcs()
Returns this expression's child expressions. |
Methods inherited from class mondrian.calc.impl.GenericCalc |
---|
evaluateBoolean, evaluateDateTime, evaluateDimension, evaluateDouble, evaluateHierarchy, evaluateInteger, evaluateLevel, evaluateMember, evaluateString, evaluateTuple, evaluateVoid, numberToDouble |
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.VoidCalc |
---|
evaluateVoid |
Methods inherited from interface mondrian.calc.Calc |
---|
accept, dependsOn, getResultStyle, getType |
Constructor Detail |
---|
protected AbstractVoidCalc(Exp exp, Calc[] calcs)
Method Detail |
---|
public java.lang.Object evaluate(Evaluator evaluator)
Calc
evaluate
in interface Calc
evaluator
- Provides dimensional context in which to evaluate
this expression
public Calc[] getCalcs()
AbstractCalc
getCalcs
in class AbstractCalc
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |