|
|||||||||
| 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(List<RolapHierarchy> hierarchyList,
Calc calc)
Creates a RolapTupleCalculation. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RolapTupleCalculation(List<RolapHierarchy> hierarchyList,
Calc calc)
hierarchyList - List of hierarchies to be replaced.calc - Compiled scalar expression to compute cell| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic void setContextIn(RolapEvaluator evaluator)
RolapCalculation
setContextIn in interface RolapCalculationevaluator - Evaluatorpublic int getSolveOrder()
RolapCalculation
getSolveOrder in interface RolapCalculationpublic int getHierarchyOrdinal()
RolapCalculation
getHierarchyOrdinal in interface RolapCalculationpublic Calc getCompiledExpression(RolapEvaluatorRoot root)
RolapCalculation
getCompiledExpression in interface RolapCalculationroot - Root evaluation context
public boolean containsAggregateFunction()
RolapCalculation
containsAggregateFunction in interface RolapCalculationpublic boolean isCalculatedInQuery()
RolapCalculationWITH 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 | ||||||||