mondrian.rolap
Class RolapResult.RolapResultEvaluatorRoot
java.lang.Object
mondrian.rolap.RolapEvaluator.RolapEvaluatorRoot
mondrian.rolap.RolapResult.RolapResultEvaluatorRoot
- Direct Known Subclasses:
- RolapDependencyTestingEvaluator.DteRoot
- Enclosing class:
- RolapResult
protected static class RolapResult.RolapResultEvaluatorRoot
- extends RolapEvaluator.RolapEvaluatorRoot
Extension to RolapEvaluator.RolapEvaluatorRoot
which is capable
of evaluating named sets.
A given set is only evaluated once each time a query is executed; the
result is added to the namedSetValues
cache on first execution
and re-used.
Named sets are always evaluated in the context of the slicer.
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolapResult.RolapResultEvaluatorRoot
public RolapResult.RolapResultEvaluatorRoot(RolapResult result)
init
protected void init(Evaluator evaluator)
- Description copied from class:
RolapEvaluator.RolapEvaluatorRoot
- First evaluator calls this method on construction.
- Overrides:
init
in class RolapEvaluator.RolapEvaluatorRoot
evaluateNamedSet
protected Object evaluateNamedSet(String name,
Exp exp)
- Description copied from class:
RolapEvaluator.RolapEvaluatorRoot
- Evaluates a named set.
The default implementation throws
UnsupportedOperationException
.
- Overrides:
evaluateNamedSet
in class RolapEvaluator.RolapEvaluatorRoot
getParameterValue
public Object getParameterValue(ParameterSlot slot)
- Description copied from class:
RolapEvaluator.RolapEvaluatorRoot
- Returns the value of a parameter, evaluating its default expression
if necessary.
The default implementation throws
UnsupportedOperationException
.
- Overrides:
getParameterValue
in class RolapEvaluator.RolapEvaluatorRoot