protected static class RolapResult.RolapResultEvaluatorRoot extends RolapEvaluatorRoot
RolapEvaluatorRoot
which is capable
of evaluating sets and 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 |
---|
RolapResultEvaluatorRoot(RolapResult result) |
Modifier and Type | Method and Description |
---|---|
protected Evaluator.NamedSetEvaluator |
evaluateNamedSet(NamedSet namedSet,
boolean create)
Evaluates a named set.
|
protected Evaluator.SetEvaluator |
evaluateSet(Exp exp,
boolean create)
Evaluates a named set represented by an expression.
|
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 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 foundprotected Evaluator.SetEvaluator evaluateSet(Exp exp, boolean create)
RolapEvaluatorRoot
The default implementation throws
UnsupportedOperationException
.
evaluateSet
in class RolapEvaluatorRoot
exp
- Expressioncreate
- Whether to create named set evaluator if not foundpublic Object getParameterValue(ParameterSlot slot)
RolapEvaluatorRoot
The default implementation throws
UnsupportedOperationException
.
getParameterValue
in class RolapEvaluatorRoot