Skip navigation links

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

B28128-01


oracle.olapi.metadata.mapping
Class SolvedHierarchyMap

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mapping.ObjectMap
          extended by oracle.olapi.metadata.mapping.DimensionMap
              extended by oracle.olapi.metadata.mapping.SolvedHierarchyMap

All Implemented Interfaces:
MetadataObject
Direct Known Subclasses:
SolvedLevelHierarchyMap, SolvedValueHierarchyMap

public abstract class SolvedHierarchyMap
extends DimensionMap

An abstract extension of DimensionMap that represents the mapping to data sources of an MdmHierarchy that is solved. A solved hierarchy is one for which the aggregate data exists in persistent storage for the MdmMeasure objects that are dimensioned by the members of the hierarchy.

A SolvedHierarchyMap must have an associated AttributeMap for the parent MdmAttribute of the hierarchy. It must also identify the level depth of each member.

If the SolvedHierarchyMap is for an MdmLevelHierarchy, then it can identify the level depth in either of the following ways.

If the SolvedHierarchyMap is for an MdmValueHierarchy, then it can identify the level depth by having an AttributeMap for the level depth MdmAttribute.

A SolvedHierarchyMap for either subclass of MdmHierarchy can also identify the level depth by having an GID Expression. However, this method does not scale well, so an application should use the level depth or level name method.


Method Summary
 Expression getLevelIDExpression()
          Gets the column that contains the identifiers for the levels of the hierarchy.
 Expression getParentKeyExpression()
          Gets the Expression that identifies the column of the relational table that identifies the parents of the members of the hierarchy.
 Expression getParentLevelIDExpression()
          Gets the column that contains the identifiers for the parents of the members of the levels of the hierarchy.
 void setLevelIDExpression(Expression input)
          Specifies the column that contains the identifiers for the levels of the hierarchy.
 void setParentKeyExpression(Expression input)
          Specifies the column of the relational table that identifies the parents of the members of the hierarchy.
 void setParentLevelIDExpression(Expression input)
          Specifies the column that contains the identifiers for the parents of the members of the levels of the hierarchy.

 

Methods inherited from class oracle.olapi.metadata.mapping.DimensionMap
addAttributeMap, findOrCreateAttributeMap, getAttributeMaps, getDimension, getKeyExpression, getQuery, removeAttributeMap, setDimension, setKeyExpression, setQuery

 

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

setLevelIDExpression

public final void setLevelIDExpression(Expression input)
Specifies the column that contains the identifiers for the levels of the hierarchy.
Parameters:
input - An Expression that specifies the level ID column.

getLevelIDExpression

public final Expression getLevelIDExpression()
Gets the column that contains the identifiers for the levels of the hierarchy.
Returns:
An Expression that specifies the level ID column.

setParentLevelIDExpression

public final void setParentLevelIDExpression(Expression input)
Specifies the column that contains the identifiers for the parents of the members of the levels of the hierarchy.
Parameters:
input - An Expression that specifies the parent ID column for the members of the levels of the hierarchy.

getParentLevelIDExpression

public final Expression getParentLevelIDExpression()
Gets the column that contains the identifiers for the parents of the members of the levels of the hierarchy.
Returns:
An Expression that specifies the parent ID column for the members of the levels of the hierarchy.

setParentKeyExpression

public final void setParentKeyExpression(Expression input)
Specifies the column of the relational table that identifies the parents of the members of the hierarchy.
Parameters:
input - An Expression that identifies the column that contains the parents of the hierarchy members.

getParentKeyExpression

public final Expression getParentKeyExpression()
Gets the Expression that identifies the column of the relational table that identifies the parents of the members of the hierarchy.
Returns:
An Expression that identifies the column that contains the parents of the hierarchy members.

Skip navigation links

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