|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.RolapTupleCalculation
class RolapTupleCalculation
Implementation of 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 Summary | |
---|---|
RolapTupleCalculation(java.util.List<RolapHierarchy> hierarchyList,
Calc calc)
Creates a RolapTupleCalculation. |
Method Summary | |
---|---|
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. |
RolapEvaluator |
pushSelf(RolapEvaluator evaluator)
Pushes this calculated member or tuple onto the stack of evaluation contexts, sets the context to the default member of the hierarchy, and returns the evaluator containing the new context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RolapTupleCalculation(java.util.List<RolapHierarchy> hierarchyList, Calc calc)
hierarchyList
- List of hierarchies to be replaced.calc
- Compiled scalar expression to compute cellMethod Detail |
---|
public RolapEvaluator pushSelf(RolapEvaluator evaluator)
RolapCalculation
pushSelf
in interface RolapCalculation
evaluator
- Current evaluator
public 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 context
public boolean containsAggregateFunction()
RolapCalculation
containsAggregateFunction
in interface RolapCalculation
public boolean isCalculatedInQuery()
RolapCalculation
WITH MEMBER
clause in an MDX query.
isCalculatedInQuery
in interface RolapCalculation
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |