mondrian.calc.impl
Class AbstractDateTimeCalc
java.lang.Object
mondrian.calc.impl.AbstractCalc
mondrian.calc.impl.AbstractDateTimeCalc
- All Implemented Interfaces:
- Calc, DateTimeCalc
public abstract class AbstractDateTimeCalc
- extends AbstractCalc
- implements DateTimeCalc
Abstract implementation of the DateTimeCalc interface.
The derived class must
implement the DateTimeCalc.evaluateDateTime(mondrian.olap.Evaluator) method,
and the evaluate(mondrian.olap.Evaluator) method will call it.
- Since:
- Sep 26, 2005
- Author:
- jhyde
| Methods inherited from class mondrian.calc.impl.AbstractCalc |
accept, anyDepends, anyDependsButFirst, butDepends, collectArguments, dependsOn, getArguments, getCalcs, getName, getResultStyle, getType, isWrapperFor, simplifyEvaluator, unwrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDateTimeCalc
protected AbstractDateTimeCalc(Exp exp,
Calc[] calcs)
- Creates an AbstractDateTimeCalc.
- Parameters:
exp - Source expressioncalcs - Child compiled expressions
evaluate
public Object evaluate(Evaluator evaluator)
- Description copied from interface:
Calc
- Evaluates this expression.
- Specified by:
evaluate in interface Calc
- Parameters:
evaluator - Provides dimensional context in which to evaluate
this expression
- Returns:
- Result of expression evaluation