public class AbstractVoidCalc extends GenericCalc implements VoidCalc
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
.
exp, type
Modifier | Constructor and Description |
---|---|
protected |
AbstractVoidCalc(Exp exp,
Calc[] calcs) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Evaluator evaluator)
Evaluates this expression.
|
Calc[] |
getCalcs()
Returns this expression's child expressions.
|
evaluateBoolean, evaluateDateTime, evaluateDimension, evaluateDouble, evaluateHierarchy, evaluateInteger, evaluateLevel, evaluateMember, evaluateString, evaluateTuple, evaluateVoid, numberToDouble
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getName, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluateVoid
accept, dependsOn, getResultStyle, getType, isWrapperFor, unwrap
public Object evaluate(Evaluator evaluator)
Calc
public Calc[] getCalcs()
AbstractCalc
getCalcs
in class AbstractCalc
Copyright © 2020 Hitachi Vantara. All rights reserved.