public class DrillDownOnPositionTransform extends AxisTransform
TODO: transform to be completed, not working for now.
Description: Adds the children of a member at a specific position on an axis. The member to drill is identified from a CellSet with the axis, positionOrdinalInAxis and memberOrdinalInPosition arguments. The drilled member will still be present on the axis, in addition to its children. It is recommended to apply a Hierarchize transform to the same axis of the resulting query, in order to have members in correct hierarchical order.
Example of use: the user clicks on a member in a crosstab axis, in order to see its children in addition to the member itself.
Applicability: this transform is applicable only to members in a query that are drillable, i.e. non-leaf members. The CellSet resulting from the execution of the initial MDX query must also be available.
Constructor and Description |
---|
DrillDownOnPositionTransform(Axis axis,
int positionOrdinalInAxis,
int memberOrdinalInPosition,
CellSet cellSet)
Creates a DrillDownOnPositionTransform.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getName() |
apply
public DrillDownOnPositionTransform(Axis axis, int positionOrdinalInAxis, int memberOrdinalInPosition, CellSet cellSet)
axis
- AxispositionOrdinalInAxis
- Position ordinal on axismemberOrdinalInPosition
- Member ordinal in PositioncellSet
- Cell set