mondrian.rolap
protected static class RolapResult.RolapResultEvaluatorRoot extends RolapEvaluatorRoot
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 namedSetEvaluators
cache on first execution
and re-used.
Named sets are always evaluated in the context of the slicer.
Modifier and Type | Field and Description |
---|---|
(package private) RolapResult |
result |
activeNativeExpansions, compiledExps, connection, cube, currentDialect, defaultMembers, execution, expResultCache, nonAllPositionCount, nonAllPositions, query, recursionCheckCommandCount, schemaReader, solveOrderMode, statement, tmpExpResultCache
Constructor and Description |
---|
RolapResult.RolapResultEvaluatorRoot(RolapResult result) |
Modifier and Type | Method and Description |
---|---|
protected Evaluator.NamedSetEvaluator |
evaluateNamedSet(NamedSet namedSet,
boolean create)
Evaluates a named set.
|
Object |
getParameterValue(ParameterSlot slot)
Returns the value of a parameter, evaluating its default expression
if necessary.
|
clearResultCache, getCacheResult, getCompiled, getQueryStartTime, putCacheResult
final RolapResult result
public RolapResult.RolapResultEvaluatorRoot(RolapResult result)
protected Evaluator.NamedSetEvaluator evaluateNamedSet(NamedSet namedSet, boolean create)
RolapEvaluatorRoot
The default implementation throws
UnsupportedOperationException
.
evaluateNamedSet
in class RolapEvaluatorRoot
namedSet
- Named setcreate
- Whether to create named set evaluator if not foundpublic Object getParameterValue(ParameterSlot slot)
RolapEvaluatorRoot
The default implementation throws
UnsupportedOperationException
.
getParameterValue
in class RolapEvaluatorRoot