|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2.0.3) B14351-03 Beta Draft |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.AWXML.BaseObject
oracle.AWXML.Measure
oracle.AWXML.DerivedMeasure
public class DerivedMeasure
A Measure the values of which result from mathematical
operations or data transformations on values of other
Measure objects.
For example, the values of a DerivedMeasure can be derived by
calculating the averages, totals, percentages, or differences of the
values of existing Measure objects.
A DerivedMeasure is owned by a Cube.
To create a DerivedMeasure object, use the
createDerivedMeasure method of a Cube.
To create the DerivedMeasure in the analytic workspace, call the
Create method of the DerivedMeasure.
To update the analytic workspace so that it retains the definition of the
DerivedMeasure, call the Commit method of the
AW.
Because the analytic workspace dynamically calculates the values of a
DerivedMeasure, you do not need to create
AWAction.BuildDatabase and AWAction.Interaction
objects to load the data in the measure.
OlapMeasure| Field Summary |
|---|
| Fields inherited from class oracle.AWXML.BaseObject |
|---|
DATABASENULL |
| Constructor Summary | |
|---|---|
DerivedMeasure(BaseObject input)
Creates a DerivedMeasure object and associates it with the
specified Cube. |
|
| Method Summary | |
|---|---|
java.lang.String |
Alter(AWConnection connection)
Alters textual attributes of the DerivedMeasure in the current
analytic workspace of the specified database connection. |
java.lang.String |
Create(AWConnection connection)
Creates the DerivedMeasure in the current analytic workspace
of the specified database connection. |
java.lang.String |
Delete(AWConnection connection)
Deletes the DerivedMeasure in the current analytic workspace
of the specified database connection. |
java.lang.String |
getExpressionText()
Gets the expression that specifies the operation that results in the values of the DerivedMeasure. |
java.lang.String |
getId()
Gets the identifier of the DerivedMeasure. |
boolean |
isValid()
Indicates whether the DerivedMeasure is a valid object in
the analytic workspace. |
void |
setExpressionText(java.lang.String input)
Specifies the calculation that results in the values of the DerivedMeasure. |
java.lang.String |
WriteToXML()
Gets an XML representation of the DerivedMeasure. |
| Methods inherited from class oracle.AWXML.Measure |
|---|
getAutoSolve, getDataType, getSolveDefinition, setAutoSolve, setDataType, setSolveDefinition |
| Methods inherited from class oracle.AWXML.BaseObject |
|---|
CreateAfter, CreateBefore, CreateFirst, DataRead, getColumnName, 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 DerivedMeasure(BaseObject input)
DerivedMeasure object and associates it with the
specified Cube.
An application should create a DerivedMeasure object by using
the createDerivedMeasure method of a Cube.
input - The Cube to own the DerivedMeasure.| Method Detail |
|---|
public java.lang.String getId()
DerivedMeasure.
The identifier is the full name of the DerivedMeasure in the
format owner.name.type.
For example, the identifier of a DerivedMeasure with the name
MARGIN that is owned by a Cube named
PRICE_COST_CUBE_AW is
PRICE_COST_CUBE_AW.MARGIN.MEASURE.
For more information on object identifiers, see Object Identifiers.
getId in class BaseObjectString that contains the identifier of the
Cube.public void setExpressionText(java.lang.String input)
DerivedMeasure.
For example, the following expression specifies subtracting the values of
one Measure from another Measure.
PRICE_COST_CUBE_AW.PRICE_AW.MEASURE -
PRICE_COST_CUBE_AW.COST_AW.MEASURE
input - A String that specifies the operation that
results in the values of the DerivedMeasure.public java.lang.String getExpressionText()
DerivedMeasure.
String that specifies the operation that results in
the values of the DerivedMeasure.public java.lang.String WriteToXML()
DerivedMeasure.
WriteToXML in class MeasureString that represents the
DerivedMeasure.public java.lang.String Create(AWConnection connection)
DerivedMeasure in the current analytic workspace
of the specified database connection.
Create in class Measureconnection - The AWConnection that specifies the
database connection.
String if this method successfully creates
the DerivedMeasure.public java.lang.String Delete(AWConnection connection)
DerivedMeasure in the current analytic workspace
of the specified database connection.
Delete in class Measureconnection - The AWConnection that specifies the
database connection.
String if this method successfully deletes
the DerivedMeasure.public java.lang.String Alter(AWConnection connection)
DerivedMeasure in the current
analytic workspace of the specified database connection.
Alter in class Measureconnection - The AWConnection that specifies the
database connection.
String if this method successfully alters
the DerivedMeasure.public boolean isValid()
DerivedMeasure is a valid object in
the analytic workspace.
boolean that is true if the
DerivedMeasure is valid or false
if it is not valid.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||