Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.metadata.mtm
Class MtmSolvedLevelBasedCubeDimensionality

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmCubeDimensionality
                    |
                    +--oracle.olapi.metadata.mtm.MtmSolvedCubeDimensionality
                          |
                          +--oracle.olapi.metadata.mtm.MtmSolvedLevelBasedCubeDimensionality
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 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.