|
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.Measure | +--oracle.AWXML.DerivedMeasure
A Measure
that results from calculations involving other Measure
objects. A DerivedMeasure
is a measure resulting from calculations on other measures. The calculations that result in a DerivedMeasure
are mathematical operations or data transformations on existing data. Examples of derived facts include averages, totals, percentages, and differences.
OlapMeasure
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
DerivedMeasure(BaseObject input) Creates a DerivedMeasure for the specified Measure . |
Method Summary | |
java.lang.String |
Alter(AWConnection connection) Alters the DerivedMeasure in the current analytic workspace of the specified database connection. |
java.lang.String |
Create(AWConnection connection) Creates a 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() Returns the OLAP DML that generates the derived measure. |
java.lang.String |
getId() Returns the full name of the DerivedMeasure . |
Operator |
getOperator() Returns the Operator for the DerivedMeasure . |
boolean |
isValid() Indicates whether the DerivedMeasure is a valid object in the analytic workspace. |
void |
setExpressionText(java.lang.String input) Specifies the OLAP DML that generates the derived measure. |
void |
setOperator(Operator input) Sets the Operator for the DerivedMeasure . |
java.lang.String |
WriteToXML() Returns the DerivedMeasure as an XML string. |
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
for the specified Measure
.input
- The Measure
that owns the DerivedMeasure
.Method Detail |
public java.lang.String getId()
DerivedMeasure
.
The full name includes the simple logical name, the name space to which the object belongs (its lineage in the object model hierarchy, and the object type.
lineage.name.type
The full name of a DerivedMeasure
called Profit
owned by the Sales
measure in the Sales_Cube
cube would be:
Sales_Cube.Sales.Profit.DerivedMeasure
DerivedMeasure
.public void setExpressionText(java.lang.String input)
input
- A String
of OLAP DML commands.public java.lang.String getExpressionText()
String
of OLAP DML commands.public void setOperator(Operator input)
Operator
for the DerivedMeasure
.input
- The Operator
to use.public Operator getOperator()
Operator
for the DerivedMeasure
.Operator
used in the DerivedMeasure
.public java.lang.String WriteToXML()
DerivedMeasure
as an XML string.String
containing the XML that represents the DerivedMeasure
.public java.lang.String Create(AWConnection connection)
DerivedMeasure
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.succsss
" if successful.public java.lang.String Delete(AWConnection connection)
DerivedMeasure
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.public java.lang.String Alter(AWConnection connection)
DerivedMeasure
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that specifies the database connection.success
" if successful.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.
|
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 |