org.olap4j.transform
Class RollUpLevelTransform

java.lang.Object
  extended by org.olap4j.transform.AxisTransform
      extended by org.olap4j.transform.RollUpLevelTransform
All Implemented Interfaces:
MdxQueryTransform

public class RollUpLevelTransform
extends AxisTransform

Roll-up level transformation

Description: Replaces a member at a specific position on an axis by all the members of its parent's level. The member to roll-up 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 roll up to the members of the upper level.

Applicability: this transform is applicable only to members in a query that are have a parent. (Note: how would this work in parent-child hierarchies?)

Since:
Aug 4, 2008
Version:
$Id: RollUpLevelTransform.java 482 2012-01-05 23:27:27Z jhyde $
Author:
etdub

Constructor Summary
RollUpLevelTransform(Axis axis, int positionOrdinalInAxis, int memberOrdinalInPosition, CellSet cellSet)
          ctor
 
Method Summary
 String getDescription()
           
 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

RollUpLevelTransform

public RollUpLevelTransform(Axis axis,
                            int positionOrdinalInAxis,
                            int memberOrdinalInPosition,
                            CellSet cellSet)
ctor

Parameters:
axis -
positionOrdinalInAxis -
memberOrdinalInPosition -
cellSet -
Method Detail

getName

public String getName()

getDescription

public String getDescription()

SourceForge.net_Logo