mondrian.calc
Interface DimensionCalc

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

public interface DimensionCalc
extends Calc

Expression which yields a Dimension.

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

Since:
Sep 26, 2005
Author:
jhyde
 

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

Method Detail

evaluateDimension

Dimension evaluateDimension(Evaluator evaluator)
Evaluates this expression to yield a dimension.

Never returns null.

Parameters:
evaluator - Evaluation context
Returns:
a dimension

SourceForge.net_Logo