org.olap4j.transform
Class DrillReplaceTransform

java.lang.Object
  extended by org.olap4j.transform.AxisTransform
      extended by 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
Version:
$Id: DrillReplaceTransform.java 246 2009-06-11 00:35:21Z jhyde $
Author:
etdub

Constructor Summary
DrillReplaceTransform(Axis axis, int positionOrdinalInAxis, int memberOrdinalInPosition, CellSet cellSet)
          ctor
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 
Methods inherited from class org.olap4j.transform.AxisTransform
apply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()

SourceForge.net_Logo