Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


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

The base class for a metadata object that represents the organization of an MdmCube as an analytic workspace (AW) object or as a relational OLAP (Rolap) object. An application gets or creates a concrete subclass of CubeOrganization with the findOrCreateAWCubeOrganization method or the findOrCreateRolapCubeOrganization method of the MdmCube.

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.
 void clearSparseDimensions()
          Removes all of the MdmDimensionality objects from the list of 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
getContainedByObject, getID, getName, getNewName, 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.

clearSparseDimensions

public final void clearSparseDimensions()
Removes all of the MdmDimensionality objects from the list of sparse dimensions of the cube.

Skip navigation links

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