mondrian.calc
Interface LevelCalc

All Superinterfaces:
Calc
All Known Implementing Classes:
AbstractLevelCalc, AbstractVoidCalc, CacheCalc, ConstantCalc, GenericCalc, MemberLevelFunDef.CalcImpl, MemberValueCalc, TupleValueCalc, ValueCalc

public interface LevelCalc
extends Calc

Expression which yields a Level.

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

Since:
Sep 26, 2005
Author:
jhyde
 

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

Method Detail

evaluateLevel

Level evaluateLevel(Evaluator evaluator)
Evaluates this expression to yield a level.

Never returns null.

Parameters:
evaluator - Evaluation context
Returns:
a level

SourceForge.net_Logo