|
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.CubeMapGroup
Defines a set of mappings for a cube. The mappings specify the columns that contain the source data for the cubes's measures and the columns that contain values from the associated dimension keys.
You can specify a mapping for a cube as a whole, or you can map individual measures or specify the key relationships with individual dimensions.
Use the oracle.AWAction.BuildDatabase
class to execute the mappings and load data into the dimension.
oracle.AWXML.DimensionMapGroup
Field Summary | |
protected java.util.Vector |
m_keyMaps |
protected java.util.Vector |
m_measureMaps |
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 | |
CubeMapGroup(BaseObject input) Constructor for a CubeMapGroup . |
Method Summary | |
void |
addCubeDimensionSourceExpression(CubeDimensionSourceExpression input) Adds a mapping for one of the cube's dimensions |
void |
addKeyMap(CubeDimensionSourceExpression input) Adds a key mapping for one of the cube's dimensions. |
void |
addMeasureMap(MeasureSourceExpression input) Adds a measure mapping to the CubeMapGroup . |
void |
addMeasureSourceExpression(MeasureSourceExpression input) Adds a workspace measure with its mapping information to the CubeMapGroup |
java.lang.String |
Create(AWConnection connection) Create this CubeMapGroup in the current analytic workspace. |
MeasureSourceExpression |
CreateAttributeMap() This method is current not used. |
CubeDimensionSourceExpression |
CreateKeyMap() Creates a key map for this CubeMapGroup |
java.util.Vector |
getKeyMaps() Returns the key maps defined this CubeMapGroup |
java.util.Vector |
getMeasureMaps() Returns the measure maps in this CubeMapGroup |
void |
removeKeyMap(CubeDimensionSourceExpression input) Removes a key mapping for one of the cube's dimensions. |
void |
removeMeasureMap(MeasureSourceExpression input) Removes a measure mapping from the CubeMapGroup |
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 java.util.Vector m_keyMaps
protected java.util.Vector m_measureMaps
Constructor Detail |
public CubeMapGroup(BaseObject input)
CubeMapGroup
. Input can specify the mappings for a cube, a measure, or a key relationship between the cube and one of its dimensions.input
- A BaseObject
that is a Cube
, a Measure
, or a a CubeDimensionSourceExpression
Method Detail |
public java.lang.String WriteToXML()
String
containing the XML that represents the object.public void addMeasureMap(MeasureSourceExpression input)
CubeMapGroup
.input
- MeasureSourceExpression
public void removeMeasureMap(MeasureSourceExpression input)
CubeMapGroup
input
- MeasureSourceExpression
public void addMeasureSourceExpression(MeasureSourceExpression input)
CubeMapGroup
input
- A MeasureSourceExpression
public java.util.Vector getMeasureMaps()
CubeMapGroup
Vector
containing the measure mapspublic void addKeyMap(CubeDimensionSourceExpression input)
input
- A CubeDimensionSourceExpression
public void removeKeyMap(CubeDimensionSourceExpression input)
input
- A CubeDimensionSourceExpression
public void addCubeDimensionSourceExpression(CubeDimensionSourceExpression input)
input
- A CubeDimensionSourceExpression
public java.util.Vector getKeyMaps()
CubeMapGroup
Vector
containing the key mapspublic CubeDimensionSourceExpression CreateKeyMap()
CubeMapGroup
CubeDimensionSourceExpression
public MeasureSourceExpression CreateAttributeMap()
public java.lang.String Create(AWConnection connection)
CubeMapGroup
in the current analytic workspace.connection
- An AWConnection
through which the command will be processed.String
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 |