Oracle® OLAP Java API Reference
10g Release 2 (10.2.0.4)

B14348-04

oracle.olapi.metadata.mtm
Class MtmSolvedLevelBasedCubeDimensionality

java.lang.Object
  extended byoracle.olapi.metadata.BaseMetadataObject
      extended byoracle.olapi.metadata.mtm.MtmObject
          extended byoracle.olapi.metadata.mtm.MtmCubeDimensionality
              extended byoracle.olapi.metadata.mtm.MtmSolvedCubeDimensionality
                  extended byoracle.olapi.metadata.mtm.MtmSolvedLevelBasedCubeDimensionality
All Implemented Interfaces:
MetadataObject
Direct Known Subclasses:
MtmSolvedGroupingSetCubeDimensionality, MtmSolvedRollupCubeDimensionality

public abstract class MtmSolvedLevelBasedCubeDimensionality
extends MtmSolvedCubeDimensionality

An MtmSolvedCubeDimensionality object for one hierarchy in a solved MtmBaseCube whose fact table includes only detail (leaf) data for the associated measures. The aggregate data is provided by materialized views, which can be structured in either Grouping Set form or Rollup form. Such a cube is referred to as a level-based cube.

The fact table for a level-based cube has the following columns (among others) for each hierarchy.

For information about ET and GID columns, Grouping Set form, and Rollup (also called Rolled Up) form, see the Oracle OLAP Application Developer's Guide.


Method Summary
 void addLevelExpression(MtmExpression levelExpression)
          Adds a level column to the hierarchy in the fact table for the MtmBaseCube.
 MtmValueExpression getGroupingIDExpression()
          Gets the GID column for the hierarchy from the fact table for the MtmBaseCube.
 java.util.List getLevelExpressions()
          Gets the level columns for the hierarchy from the fact table for the MtmBaseCube.
 
Methods inherited from class oracle.olapi.metadata.mtm.MtmCubeDimensionality
getDimensionIsDense, getDimensionMap, setDimensionIsDense, setDimensionMap
 
Methods inherited from class oracle.olapi.metadata.mtm.MtmObject
acceptVisitor
 
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addLevelExpression

public void addLevelExpression(MtmExpression levelExpression)
Adds a level column to the hierarchy in the fact table for the MtmBaseCube.

Parameters:
levelExpression - An MtmExpression that represents a new level for the hierarchy in the fact table for the MtmBaseCube.

getGroupingIDExpression

public MtmValueExpression getGroupingIDExpression()
Gets the GID column for the hierarchy from the fact table for the MtmBaseCube.

Returns:
An MtmValueExpression that represents the GID column for the hierarchy from the fact table for the MtmBaseCube.

getLevelExpressions

public java.util.List getLevelExpressions()
Gets the level columns for the hierarchy from the fact table for the MtmBaseCube.

Returns:
A List of MtmExpression objects, each of which represents one level column for the hierarchy from the fact table for the MtmBaseCube.

Oracle® OLAP Java API Reference
10g Release 2 (10.2.0.4)

B14348-04

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