mondrian.calc
Interface IntegerCalc

All Superinterfaces:
Calc
All Known Implementing Classes:
AbstractIntegerCalc, AbstractVoidCalc, CacheCalc, ConstantCalc, GenericCalc, MemberValueCalc, TupleValueCalc, ValueCalc

public interface IntegerCalc
extends Calc

Compiled expression whose result is an int.

When implementing this interface, it is convenient to extend AbstractIntegerCalc, but it is not required.

Since:
Sep 27, 2005
Author:
jhyde
 

Method Summary
 int evaluateInteger(Evaluator evaluator)
          Evaluates this expression to yield an int value.
 
Methods inherited from interface mondrian.calc.Calc
accept, dependsOn, evaluate, getResultStyle, getType
 

Method Detail

evaluateInteger

int evaluateInteger(Evaluator evaluator)
Evaluates this expression to yield an int value. If the result is null, returns the special FunUtil.IntegerNull value.

Parameters:
evaluator - Evaluation context
Returns:
evaluation result

SourceForge.net_Logo