Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.metadata.deployment
Class RolapCubeOrganization

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.deployment.CubeOrganization
          extended by oracle.olapi.metadata.deployment.RolapCubeOrganization

All Implemented Interfaces:
MetadataObject

public class RolapCubeOrganization
extends CubeOrganization

A CubeOrganization for a relational deployment of an MdmCube. A RolapCubeOrganization specifies the form of SQL SELECT statement that organizes the data of the measures of the cube. To create a RolapCubeOrganization, use the createRolapOrganization method of the MdmCube.

The SQL SELECT statement can use a GROUP BY ROLLUP or GROUP BY GROUPING SETS clause, or it can use an embedded totals column of a view. For more information on the GROUP BY clauses, see Oracle Database Data Warehousing Guide or Oracle Database SQL Reference.


Field Summary
static java.lang.String ET_FORM
          A constant that represents an organization of the measure data of the cube that results from the use of an embedded totals column of a view in the SELECT statement.
static java.lang.String GROUPING_SET_FORM
          A constant that represents an organization of the measure data of the cube that results from the use of a GROUP BY GROUPING SETS clause in the SELECT statement.
static java.lang.String ROLLUP_FORM
          A constant that represents an organization of the measure data of the cube that results from the use of a GROUP BY ROLLUP clause in the SELECT statement.
static java.lang.String[] VALID_GROUPING_FORMS
          A constant that has the valid values for the forms of organization.

 

Method Summary
 java.lang.String getGroupingForm()
          Gets the grouping form for the cube that is associated this RolapCubeOrganization.
 void setGroupingForm(java.lang.String type)
          Specifies the grouping form for the cube that is associated with this RolapCubeOrganization.

 

Methods inherited from class oracle.olapi.metadata.deployment.CubeOrganization
addSparseDimension, getCube, getSparseDimensions, removeSparseDimension

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getID, getOwner

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

ROLLUP_FORM

public static final java.lang.String ROLLUP_FORM
A constant that represents an organization of the measure data of the cube that results from the use of a GROUP BY ROLLUP clause in the SELECT statement.
See Also:
Constant Field Values

GROUPING_SET_FORM

public static final java.lang.String GROUPING_SET_FORM
A constant that represents an organization of the measure data of the cube that results from the use of a GROUP BY GROUPING SETS clause in the SELECT statement.
See Also:
Constant Field Values

ET_FORM

public static final java.lang.String ET_FORM
A constant that represents an organization of the measure data of the cube that results from the use of an embedded totals column of a view in the SELECT statement.
See Also:
Constant Field Values

VALID_GROUPING_FORMS

public static final java.lang.String[] VALID_GROUPING_FORMS
A constant that has the valid values for the forms of organization.

Method Detail

getGroupingForm

public final java.lang.String getGroupingForm()
Gets the grouping form for the cube that is associated this RolapCubeOrganization. The grouping form is one of the values indicated by the VALID_GROUPING_FORMS constant.
Returns:
A String that contains the null storage type of the cube.

setGroupingForm

public final void setGroupingForm(java.lang.String type)
Specifies the grouping form for the cube that is associated with this RolapCubeOrganization.

The grouping form can be one of the following constants:
   ET_FORM
   ROLLUP_FORM
   GROUPING_SET_FORM The following table lists the constants that represent the valid values for the type parameter.

Constant Description
ET_FORM Indicates that Oracle OLAP uses the embedded totals column of a view in the SELECT statement that specifies the measure data of the cube.
ROLLUP_FORM Indicates that Oracle OLAP uses a GROUP BY ROLLUP clause in the SELECT statement that specifies the measure data of the cube.
GROUPING_SET_FORM Indicates that Oracle OLAP uses a GROUP BY GROUPING SETS clause in the SELECT statement that specifies the measure data of the cube.
Parameters:
type - A String that contains a grouping form for the cube.

Skip navigation links

Copyright © 2002, 2007, Oracle. All rights reserved.