mondrian.calc
Interface LevelCalc

All Superinterfaces:
Calc
All Known Implementing Classes:
AbstractLevelCalc, AbstractVoidCalc, AggregateFunDef.AggregateCalc, 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
Version:
$Id: //open/mondrian/src/main/mondrian/calc/LevelCalc.java#6 $
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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads