Class DrillReplaceTransform

java.lang.Object
org.olap4j.transform.AxisTransform
org.olap4j.transform.DrillReplaceTransform
All Implemented Interfaces:
MdxQueryTransform

public class DrillReplaceTransform extends AxisTransform
Drill replace transformation

Description: Replaces a member at a specific position on an axis by its children. The member to drill is identified from a CellSet with the axis, positionOrdinalInAxis and memberOrdinalInPosition arguments.

Example of use: the user clicks on a member in a crosstab axis, in order to see its children.

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.

Since:
Jul 30, 2008
Author:
etdub
  • Constructor Details

    • DrillReplaceTransform

      public DrillReplaceTransform(Axis axis, int positionOrdinalInAxis, int memberOrdinalInPosition, CellSet cellSet)
      ctor
      Parameters:
      axis - axis (of the resulting CellSet) the member to be drilled
      positionOrdinalInAxis - position ordinal in axis of the member to be drilled
      memberOrdinalInPosition - ordinal in position of the member to be drilled
      cellSet - the CellSet resulting from execution of the query to be transformed
  • Method Details

    • getName

      public String getName()
    • getDescription

      public String getDescription()