interface RolapCalculation
Most of the time it's just members that are calculated, but calculated tuples arise when the slicer is a set of tuples.
The evaluator uses this interface to efficiently expand a member or tuple from the evaluation context. When evaluated, a calculation will change one or more elements of the context (calculated members just change one, but tuple sets in the slicer can change more than one).
Modifier and Type | Method and Description |
---|---|
boolean |
containsAggregateFunction()
Returns whether this calculation contains an aggregate function.
|
Calc |
getCompiledExpression(RolapEvaluatorRoot root)
Returns the compiled expression to evaluate the scalar value of the
current cell.
|
int |
getHierarchyOrdinal()
Returns the ordinal of this calculation; to resolve ties.
|
int |
getSolveOrder()
Returns the solve order of this calculation.
|
boolean |
isCalculatedInQuery()
Returns whether this calculation is a member is computed from a
WITH MEMBER clause in an MDX query. |
void |
setContextIn(RolapEvaluator evaluator)
Pushes this calculated member or tuple onto the stack of evaluation
contexts, and sets the context to the default member of the hierarchy.
|
void setContextIn(RolapEvaluator evaluator)
evaluator
- Evaluatorint getSolveOrder()
int getHierarchyOrdinal()
boolean isCalculatedInQuery()
WITH MEMBER
clause in an MDX query.Calc getCompiledExpression(RolapEvaluatorRoot root)
root
- Root evaluation contextboolean containsAggregateFunction()