mondrian.calc
Interface BooleanCalc

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

public interface BooleanCalc
extends Calc

Compiled expression whose result is a boolean.

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

Since:
Sep 27, 2005
Author:
jhyde
 

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

Method Detail

evaluateBoolean

boolean evaluateBoolean(Evaluator evaluator)
Evaluates this expression to yield a boolean value. If the result is null, returns the special FunUtil.BooleanNull value.

Parameters:
evaluator - Evaluation context
Returns:
evaluation result

SourceForge.net_Logo