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 |
|---|
RolapResult.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, putCacheResultfinal RolapResult result
public RolapResult.RolapResultEvaluatorRoot(RolapResult result)
protected Evaluator.NamedSetEvaluator evaluateNamedSet(NamedSet namedSet, boolean create)
RolapEvaluatorRootThe default implementation throws
UnsupportedOperationException.
evaluateNamedSet in class RolapEvaluatorRootnamedSet - Named setcreate - Whether to create named set evaluator if not foundprotected Evaluator.SetEvaluator evaluateSet(Exp exp, boolean create)
RolapEvaluatorRootThe default implementation throws
UnsupportedOperationException.
evaluateSet in class RolapEvaluatorRootexp - Expressioncreate - Whether to create named set evaluator if not foundpublic Object getParameterValue(ParameterSlot slot)
RolapEvaluatorRootThe default implementation throws
UnsupportedOperationException.
getParameterValue in class RolapEvaluatorRoot