Skip navigation links

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

B28128-01


oracle.olapi.metadata.deployment
Class CubeOrganization

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

All Implemented Interfaces:
MetadataObject
Direct Known Subclasses:
AWCubeOrganization, RolapCubeOrganization

public abstract class CubeOrganization
extends BaseMetadataObject

A metadata object that represents the organization of an MdmCube as a relational OLAP (Rolap) object or as an analytic workspace (AW) object. An application creates a CubeOrganization with the createAWOrganization or createRolapOrganization method of the MdmCube.

Oracle OLAP uses materialized views to store aggregated data for the measures of a cube. A sparse dimension is one for which the measures of the cube have data for less than 80% of the members of the dimension. Oracle OLAP stores the data for sparse dimensions in a structure that is more efficient for querying the data. You can specify a sparse dimension by calling the addSparseDimension method and passing it the MdmDimensionality object associated with the dimension.


Method Summary
 void addSparseDimension(MdmDimensionality dim)
          Adds an MdmDimensionality to the sparse dimensions of the cube.
 MdmCube getCube()
          Gets the MdmCube that is associated with the CubeOrganization.
 java.util.List getSparseDimensions()
          Gets the MdmDimensionality objects for the sparse dimensions of the cube.
 void removeSparseDimension(MdmDimensionality dim)
          Removes an MdmDimensionality from the sparse dimensions of the cube.

 

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

 

Method Detail

getCube

public final MdmCube getCube()
Gets the MdmCube that is associated with the CubeOrganization.
Returns:
The MdmCube associated with the CubeOrganization.

getSparseDimensions

public final java.util.List getSparseDimensions()
Gets the MdmDimensionality objects for the sparse dimensions of the cube.
Returns:
A List of the MdmDimensionality objects for the sparse dimensions of the CubeOrganization.

removeSparseDimension

public final void removeSparseDimension(MdmDimensionality dim)
Removes an MdmDimensionality from the sparse dimensions of the cube.
Parameters:
dim - The MdmDimensionality to remove from the list of the sparse dimensions of the CubeOrganization.

addSparseDimension

public final void addSparseDimension(MdmDimensionality dim)
Adds an MdmDimensionality to the sparse dimensions of the cube.
Parameters:
dim - The MdmDimensionality to add to the list of the sparse dimensions of the CubeOrganization.

Skip navigation links

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