|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.AWXML.BaseObject
|
+--oracle.AWXML.AWObject
|
+--oracle.AWXML.Hierarchy
An AWObject that specifies a hierarchy. A hierarchy defines an ordered set of relationships between dimension members.
There are two types of hierarchies: level-based hierarchies, which define an ordered set of levels, and value-based hierarchies, which define parent-child relationships between the members of the dimension.
Level-based hierarchies have an ordered list of HierarchyLevelAssociation objects. A HierarchyLevelAssociation associates a level with a hierarchy. The ordered list of HierarchyLevelAssociation objects specifies the order of the levels in the hierarchy. The first level is the most aggregate. The last level is the least aggregate.
Hierarchies implement the DerivedMeasureInput interface, and therefore can be used as input to the calculations that define a derived measure.
| Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
| Constructor Summary | |
Hierarchy(BaseObject input)Creates a Hierarchy for the specified Dimension. |
|
| Method Summary | |
void |
addHierarchyLevelAssociation(HierarchyLevelAssociation input)Adds the specified HierarchyLevelAssociation to the end of the list of levels in the Hierarchy. |
void |
addHierarchyLevelAssociationAfter(HierarchyLevelAssociation input, BaseObject reference)Adds the specified HierarchyLevelAssociation after the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy. |
void |
addHierarchyLevelAssociationBefore(HierarchyLevelAssociation input, BaseObject reference)Adds the specified HierarchyLevelAssociation before the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy. |
void |
addHierarchyLevelAssociationFirst(HierarchyLevelAssociation input)Adds the specified HierarchyLevelAssociation to the beginning of the list of levels for the Hierarchy. |
java.lang.String |
Alter(AWConnection connection)Alter the Hierarchy within the current analytic workspace of the specified connection. |
java.lang.String |
Create(AWConnection connection)Creates the Hierarchy in the current analytic workspace of the specified database connection. |
HierarchyLevelAssociation |
createHierarchyLevelAssociation()Creates a HierarchyLevelAssociation at the end of the list of levels for the Hierarchy. |
HierarchyLevelAssociation |
createHierarchyLevelAssociationAfter(HierarchyLevelAssociation input)Creates a HierarchyLevelAssociation after the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy. |
HierarchyLevelAssociation |
createHierarchyLevelAssociationBefore(HierarchyLevelAssociation input)Creates a HierarchyLevelAssociation before the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy. |
HierarchyLevelAssociation |
createHierarchyLevelAssociationFirst()Creates a HierarchyLevelAssociation at the beginning of the list of levels for the Hierarchy. |
java.lang.String |
Delete(AWConnection connection)Deletes the Hierarchy in the current analytic workspace of the specified database connection. |
AttributeProjection |
findAttributeProjection(Attribute input)Returns the AttributeProjection that is owned by the specified Attribute. |
Attribute |
getDefaultOrder()Returns the Attribute that specifies how the dimension members are ordered. |
java.util.Vector |
getHierarchyLevels()Returns the levels in the Hierarchy |
boolean |
getIsDefault()Returns a boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension. |
java.lang.String |
getType()Returns the hierarchy type. |
void |
readAWDefinitions(AWConnection connection, boolean readType)Reads the objects owned by the Hierarchy into memory, making them available for processing within the current analytic workspace of the specified database connection. |
void |
removeHierarchyLevelAssociation(HierarchyLevelAssociation input)Removes a HierarchyLevelAssociation from the Hierarchy. |
void |
setDefaultOrder(Attribute input)Sets the Attribute that specifies how the dimension members are ordered. |
void |
setIsDefault(boolean input)Sets a boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension. |
void |
setIsDefault(java.lang.Boolean input)Sets a Boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension. |
void |
setType(java.lang.String input)Sets the hierarchy type. |
java.lang.String |
WriteToXML()Returns the Hierarchy object as an XML string. |
| Methods inherited from class oracle.AWXML.BaseObject |
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, getId, getLongName, getLongName, getName, getOwner, getPluralName, getPluralName, getSchema, getShortName, getShortName, setColumnName, setLongName, setLongName, setName, setPluralName, setPluralName, setSchema, setShortName, setShortName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Hierarchy(BaseObject input)
Hierarchy for the specified Dimension.
Note: The object factories are a recommended way of creating objects. For example, use the createHierarchy method on a Dimension object.
input - The Dimension that owns the new Hierarchy.| Method Detail |
public java.lang.String WriteToXML()
Hierarchy object as an XML string.String containing the XML that represents the Hierarchy.public void setDefaultOrder(Attribute input)
Attribute that specifies how the dimension members are ordered. For example, in a value-based hierarchy, the attribute would specify the parent of each of the dimension members in the hierarchy.input - The Attribute.public Attribute getDefaultOrder()
Attribute that specifies how the dimension members are ordered.Attribute.public void setIsDefault(java.lang.Boolean input)
Boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension.input - True if the Hierarchy is the default, otherwise False.public void setIsDefault(boolean input)
boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension.input - True if the Hierarchy is the default, otherwise False.public boolean getIsDefault()
boolean indicating whether or not the Hierarchy is the default hierarchy for the dimension.True if the Hierarchy is the default, otherwise False.public void addHierarchyLevelAssociation(HierarchyLevelAssociation input)
HierarchyLevelAssociation to the end of the list of levels in the Hierarchy.input - The HierarchyLevelAssociation to add.
public void addHierarchyLevelAssociationAfter(HierarchyLevelAssociation input,
BaseObject reference)
HierarchyLevelAssociation after the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy.input - The HierarchyLevelAssociation to add.reference - The referenced HierarchyLevelAssociation.
public void addHierarchyLevelAssociationBefore(HierarchyLevelAssociation input,
BaseObject reference)
HierarchyLevelAssociation before the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy.input - The HierarchyLevelAssociation to add.reference - The referenced HierarchyLevelAssociation.public void addHierarchyLevelAssociationFirst(HierarchyLevelAssociation input)
HierarchyLevelAssociation to the beginning of the list of levels for the Hierarchy.input - The HierarchyLevelAssociation to add.public void removeHierarchyLevelAssociation(HierarchyLevelAssociation input)
HierarchyLevelAssociation from the Hierarchy.input - The HierarchyLevelAssociation to remove.public java.util.Vector getHierarchyLevels()
HierarchyVector of Level objects.public HierarchyLevelAssociation createHierarchyLevelAssociation()
HierarchyLevelAssociation at the end of the list of levels for the Hierarchy.HierarchyLevelAssociation.public java.lang.String getType()
LEVEL" or "VALUE".public void setType(java.lang.String input)
input - Specify "LEVEL" for a level-based hierarchy. Specify "VALUE" for a value-based hierarchy.public HierarchyLevelAssociation createHierarchyLevelAssociationAfter(HierarchyLevelAssociation input)
HierarchyLevelAssociation after the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy.input - The referenced HierarchyLevelAssociation.HierarchyLevelAssociation.public HierarchyLevelAssociation createHierarchyLevelAssociationBefore(HierarchyLevelAssociation input)
HierarchyLevelAssociation before the referenced HierarchyLevelAssociation in the list of levels for the Hierarchy.input - The referenced HierarchyLevelAssociation.HierarchyLevelAssociation.public HierarchyLevelAssociation createHierarchyLevelAssociationFirst()
HierarchyLevelAssociation at the beginning of the list of levels for the Hierarchy.HierarchyLevelAssociation.public java.lang.String Create(AWConnection connection)
Hierarchy in the current analytic workspace of the specified database connection.connection - The AWConnection that specifies the connection.success" if successful.public java.lang.String Alter(AWConnection connection)
Hierarchy within the current analytic workspace of the specified connection.connection - An AWConnection that defines the connection.Stringpublic java.lang.String Delete(AWConnection connection)
Hierarchy in the current analytic workspace of the specified database connection.connection - The AWConnection that specifies the connection.success" if successful.public AttributeProjection findAttributeProjection(Attribute input)
AttributeProjection that is owned by the specified Attribute.input - An Attribute that applies to the owning dimension.AttributeProjection that projects the Attribute to the Hierarchy.
public void readAWDefinitions(AWConnection connection,
boolean readType)
Hierarchy into memory, making them available for processing within the current analytic workspace of the specified database connection.connection - The AWConnection that specifies the database connection.readType - Specify True to read the Hierarchy and all its child objects. False normally causes some of the child objects to be ignored, but for a hierarchy, False has the same effect as True.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||