Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap
Class OlapPivotUtils

java.lang.Object
  extended by com.citra.pivot.olap.OlapPivotUtils

public class OlapPivotUtils
extends Object

OlapPivotUtils is a collection of static utility methods for retrieving members, hierarchies and dimensions from an OlapPivotTable.


Method Summary
static OlapDimension getColumnDimension(int column, int adapterLevel, OlapPivotTable table)
          Retrieves a member's dimension from the column header area of a pivot table.
static DimensionList getColumnDimensions(int column, OlapPivotTable table)
          Retrieves the members' dimensions from the column header area of a pivot table.
static HierarchyList getColumnHierarchies(int column, OlapPivotTable table)
          Retrieves the members' hierarchies from the column header area of a pivot table.
static OlapHierarchy getColumnHierarchy(int column, int adapterLevel, OlapPivotTable table)
          Retrieves a member's hierarchy from the column header area of a pivot table.
static OlapMember getColumnMember(int column, int adapterLevel, OlapPivotTable table)
          Retrieves a member from the column header area of a pivot table.
static MemberList getColumnMembers(int column, OlapPivotTable table)
          Retrieves the members from the column header area of a pivot table.
static MemberList getDataMembers(int row, int column, OlapPivotTable table)
          Retrieves the members from the data area of a pivot table.
static OlapDimension getRowDimension(int row, int adapterLevel, OlapPivotTable table)
          Retrieves a member's dimension from the row header area of a pivot table.
static DimensionList getRowDimensions(int row, OlapPivotTable table)
          Retrieves the members' dimensions from the row header area of a pivot table.
static HierarchyList getRowHierarchies(int row, OlapPivotTable table)
          Retrieves the members' hierarchies from the row header area of a pivot table.
static OlapHierarchy getRowHierarchy(int row, int adapterLevel, OlapPivotTable table)
          Retrieves a member's hierarchy from the row header area of a pivot table.
static OlapMember getRowMember(int row, int adapterLevel, OlapPivotTable table)
          Retrieves a member from the row header area of a pivot table.
static MemberList getRowMembers(int row, OlapPivotTable table)
          Retrieves the members from the row header area of a pivot table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColumnDimension

public static OlapDimension getColumnDimension(int column,
                                               int adapterLevel,
                                               OlapPivotTable table)
Retrieves a member's dimension from the column header area of a pivot table.

Parameters:
column - the member's column location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the member's dimension

getColumnDimensions

public static DimensionList getColumnDimensions(int column,
                                                OlapPivotTable table)
Retrieves the members' dimensions from the column header area of a pivot table.

Parameters:
column - the member's column location
table - the table
Returns:
the members' dimensions

getColumnHierarchies

public static HierarchyList getColumnHierarchies(int column,
                                                 OlapPivotTable table)
Retrieves the members' hierarchies from the column header area of a pivot table.

Parameters:
column - the member's column location
table - the table
Returns:
the members' hierarchies

getColumnHierarchy

public static OlapHierarchy getColumnHierarchy(int column,
                                               int adapterLevel,
                                               OlapPivotTable table)
Retrieves a member's hierarchy from the column header area of a pivot table.

Parameters:
column - the member's column location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the member's hierarchy

getColumnMember

public static OlapMember getColumnMember(int column,
                                         int adapterLevel,
                                         OlapPivotTable table)
Retrieves a member from the column header area of a pivot table.

Parameters:
column - the member's column location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the column member

getColumnMembers

public static MemberList getColumnMembers(int column,
                                          OlapPivotTable table)
Retrieves the members from the column header area of a pivot table.

Parameters:
column - the members' column location
table - the table
Returns:
the column members

getDataMembers

public static MemberList getDataMembers(int row,
                                        int column,
                                        OlapPivotTable table)
Retrieves the members from the data area of a pivot table.

Parameters:
row - the members' row location
column - the members' column location
table - the table
Returns:
the members of the data cell

getRowDimension

public static OlapDimension getRowDimension(int row,
                                            int adapterLevel,
                                            OlapPivotTable table)
Retrieves a member's dimension from the row header area of a pivot table.

Parameters:
row - the member's row location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the member's dimension

getRowDimensions

public static DimensionList getRowDimensions(int row,
                                             OlapPivotTable table)
Retrieves the members' dimensions from the row header area of a pivot table.

Parameters:
row - the member's row location
table - the table
Returns:
the members' dimensions

getRowHierarchies

public static HierarchyList getRowHierarchies(int row,
                                              OlapPivotTable table)
Retrieves the members' hierarchies from the row header area of a pivot table.

Parameters:
row - the member's row location
table - the table
Returns:
the members' hierarchies

getRowHierarchy

public static OlapHierarchy getRowHierarchy(int row,
                                            int adapterLevel,
                                            OlapPivotTable table)
Retrieves a member's hierarchy from the row header area of a pivot table.

Parameters:
row - the member's row location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the member's hierarchy

getRowMember

public static OlapMember getRowMember(int row,
                                      int adapterLevel,
                                      OlapPivotTable table)
Retrieves a member from the row header area of a pivot table.

Parameters:
row - the member's row location
adapterLevel - the index of the pivoted hierarchy
table - the table
Returns:
the row member

getRowMembers

public static MemberList getRowMembers(int row,
                                       OlapPivotTable table)
Retrieves the members from the row header area of a pivot table.

Parameters:
row - the members' row location
table - the table
Returns:
the row members

Copyright © 2011 Citra Technologies. All Rights Reserved.