class RolapTupleCalculation extends Object implements RolapCalculation
RolapCalculation
that changes one or more dimensions, then evaluates a given calculation.
It is used to implement sets in slicers, in particular sets of tuples in the slicer.
| Constructor and Description |
|---|
RolapTupleCalculation(List<RolapHierarchy> hierarchyList,
Calc calc)
Creates a RolapTupleCalculation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAggregateFunction()
Returns whether this calculation contains an aggregate function.
|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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.
|
String |
toString() |
public RolapTupleCalculation(List<RolapHierarchy> hierarchyList, Calc calc)
hierarchyList - List of hierarchies to be replaced.calc - Compiled scalar expression to compute cellpublic void setContextIn(RolapEvaluator evaluator)
RolapCalculationsetContextIn in interface RolapCalculationevaluator - Evaluatorpublic int getSolveOrder()
RolapCalculationgetSolveOrder in interface RolapCalculationpublic int getHierarchyOrdinal()
RolapCalculationgetHierarchyOrdinal in interface RolapCalculationpublic Calc getCompiledExpression(RolapEvaluatorRoot root)
RolapCalculationgetCompiledExpression in interface RolapCalculationroot - Root evaluation contextpublic boolean containsAggregateFunction()
RolapCalculationcontainsAggregateFunction in interface RolapCalculationpublic boolean isCalculatedInQuery()
RolapCalculationWITH MEMBER clause in an MDX query.isCalculatedInQuery in interface RolapCalculation