class RolapMemberCalculation extends Object implements RolapCalculation
RolapCalculation
that wraps a calculated member
.Constructor and Description |
---|
RolapMemberCalculation(RolapMember member)
Creates a RolapMemberCalculation.
|
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.
|
public RolapMemberCalculation(RolapMember member)
member
- Calculated memberpublic void setContextIn(RolapEvaluator evaluator)
RolapCalculation
setContextIn
in interface RolapCalculation
evaluator
- Evaluatorpublic int getSolveOrder()
RolapCalculation
getSolveOrder
in interface RolapCalculation
public int getHierarchyOrdinal()
RolapCalculation
getHierarchyOrdinal
in interface RolapCalculation
public Calc getCompiledExpression(RolapEvaluatorRoot root)
RolapCalculation
getCompiledExpression
in interface RolapCalculation
root
- Root evaluation contextpublic boolean isCalculatedInQuery()
RolapCalculation
WITH MEMBER
clause in an MDX query.isCalculatedInQuery
in interface RolapCalculation
public boolean containsAggregateFunction()
RolapCalculation
containsAggregateFunction
in interface RolapCalculation