|
Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-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.MappingGroup | +--oracle.AWXML.DimensionMapGroup
Defines a set of mappings for a dimension. The mappings specify the relational columns that contain the source data for the dimension's members and attributes.
You can specify a mapping for a dimension as a whole, or you can map individual levels or hierarchies. Levels can be mapped within a hierarchical context (a HierarchyLevelAssociation
) or they can be mapped individually.
Use the oracle.AWAction.BuildDatabase
class to execute the mappings and load data into the dimension.
oracle.AWXML.CubeMapGroup
Field Summary | |
protected java.util.Vector |
m_attributeMaps |
protected DimensionKeySourceExpression |
m_keyMap |
protected HierarchicalParentSourceExpression |
m_parentMap |
Fields inherited from class oracle.AWXML.BaseObject |
AWNULL, DATABASENULL, m_commandResults, m_commandResultText, m_id, m_listResults, m_longName, m_name, m_owner, m_pluralName, m_schema, m_shortName, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_objectCounter, s_StartEndTag, s_StartStartTag |
Constructor Summary | |
DimensionMapGroup(BaseObject input) Constructor for a DimensionMapGroup . |
Method Summary | |
void |
addAttributeMap(AttributeSourceExpression input) Adds an attribute mapping to the DimensionMapGroup |
void |
addAttributeSourceExpression(AttributeSourceExpression input) Adds a workspace attribute to the mapping. |
java.lang.String |
Create(AWConnection connection) Creates a DimensionMapGroup in the analytic workspace. |
AttributeSourceExpression |
CreateAttributeMap() Creates the mapping for a workspace attribute. |
DimensionKeySourceExpression |
CreateKeyMap() Creates the key mapping for the workspace object |
HierarchicalParentSourceExpression |
CreateParentMap() Creates the key mapping for the workspace hierarchy. |
java.util.Vector |
getAttributeMaps() Returns the attribute mappings for the dimension |
DimensionKeySourceExpression |
getKeyMap() Returns the key column for workspace object. |
HierarchicalParentSourceExpression |
getParentMap() Returns the key column for the workspace hierarchy. |
void |
removeAttributeMap(AttributeSourceExpression input) Removes an attribute mapping from the DimensionMapGroup |
void |
setDimensionKeySourceExpression(DimensionKeySourceExpression input) Specifies the workspace object for the mapping. |
void |
setHierarchicalParentSourceExpression(HierarchicalParentSourceExpression input) Specifies the workspace hierarchy for the mapping. |
void |
setKeyMap(DimensionKeySourceExpression input) Specifies the key column for the workspace object. |
void |
setParentMap(HierarchicalParentSourceExpression input) Specifies the key column for the workspace hierarchy. |
java.lang.String |
WriteToXML() Returns the object as an XML string. |
Methods inherited from class oracle.AWXML.MappingGroup |
Delete |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, CreateAfter, CreateBefore, CreateFirst, getId, getLongName, getName, getOwner, getParentId, getPluralName, getSchema, getShortName, setLongName, setName, setPluralName, setSchema, setShortName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected DimensionKeySourceExpression m_keyMap
protected HierarchicalParentSourceExpression m_parentMap
protected java.util.Vector m_attributeMaps
Constructor Detail |
public DimensionMapGroup(BaseObject input)
DimensionMapGroup
. Input can specify the mappings for dimension, a hierarchy, a level, or a hierarchical level.input
- A BaseObject
that is a Dimension
, a Hierarchy
, a Level
, or a HierarchyLevelAssociation
Method Detail |
public java.lang.String WriteToXML()
String
containing the XML that represents the object.public DimensionKeySourceExpression getKeyMap()
DimensionKeySourceExpression
public void setKeyMap(DimensionKeySourceExpression input)
input
- A DimensionKeySourceExpression
public void setDimensionKeySourceExpression(DimensionKeySourceExpression input)
input
- A DimensionKeySourceExpression
public HierarchicalParentSourceExpression getParentMap()
HierarchialParentSourceExpression
for a Hierarchy
or HierarchyLevelAssociation
public void setParentMap(HierarchicalParentSourceExpression input)
input
- HierarchialParentSourceExpression
public void setHierarchicalParentSourceExpression(HierarchicalParentSourceExpression input)
input
- A HierarchialParentSourceExpression
public void addAttributeMap(AttributeSourceExpression input)
DimensionMapGroup
input
- An AttributeSourceExpression
public void removeAttributeMap(AttributeSourceExpression input)
DimensionMapGroup
input
- An AttributeSourceExpression
public void addAttributeSourceExpression(AttributeSourceExpression input)
input
- An AttributeSourceExpression
public java.util.Vector getAttributeMaps()
Vector
containing the attribute mappingspublic DimensionKeySourceExpression CreateKeyMap()
DimensionKeySourceExpression
public HierarchicalParentSourceExpression CreateParentMap()
HierarchicalParentSourceExpression
public AttributeSourceExpression CreateAttributeMap()
AttributeSourceExpression
public java.lang.String Create(AWConnection connection)
DimensionMapGroup
in the analytic workspace.connection
- An AWConnection
through which the command will be processedString
indicating if the call was successful. A successful invocation returns the value 'success'.
|
Oracle OLAP Analytic Workspace Java API Reference 10g Release 1 (10.1) B12180-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |