|
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.Operator
The calculation specification in a DerivedMeasure
.
A DerivedMeasure
owns an Operator
, and it can include a text expression of OLAP DML commands.
An Operator
consists of one or more input specifications and a calculation method on each input. The input can be any object that implements the DerivedMeasureInput
interface. Implementing objects are: hierarchies, levels within hierarchies, levels, measures, and attributes.
Since Operator
also implements the DerivedMeasureInput
interface, an Operator
can include a series of Operator
objects.
The Operator
class supports the following calculation methods:
Add Subtract Multiply Divide Power
DerivedMeasure
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
Operator(BaseObject input) Creates the Operator for the specified DerivedMeasure . |
Method Summary | |
void |
addDerivedMeasureInput(DerivedMeasureInput input) Adds the specified input to the calculation of the derived measure. |
void |
addOperator(Operator input) Adds the specified Operator to the list of Operator objects. |
Operator |
createOperator() Creates a new Operator and adds it to the list of Operator objects. |
java.util.Vector |
getDerivedMeasureInputs() Returns the list of inputs to the calculation of the derived measure. |
java.lang.String |
getOpCode() Returns the name of the calculation method in the Operator . |
java.util.Vector |
getOperators() Returns the list of Operator objects. |
void |
removeDerivedMeasureInput(DerivedMeasureInput input) Removes the specified input from the calculation of the derived measure. |
void |
setOpCode(java.lang.String input) Sets the calculation method to the specified name. |
java.lang.String |
WriteToXML() Returns the Operator as an XML string. |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, Create, CreateAfter, CreateBefore, CreateFirst, DataRead, Delete, 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 Operator(BaseObject input)
Operator
for the specified DerivedMeasure
.input
- The DerivedMeasure
that owns the Operator
.Method Detail |
public java.lang.String getOpCode()
Operator
.public void setOpCode(java.lang.String input)
input
- The name of the operator.public Operator createOperator()
Operator
and adds it to the list of Operator
objects.Operator
.public void addOperator(Operator input)
Operator
to the list of Operator
objects.input
- The Operator
to add.public java.util.Vector getOperators()
Operator
objects.Vector
of Operator
objects.public void addDerivedMeasureInput(DerivedMeasureInput input)
input
- An object that implements the DerivedMeasureInput
interface.public void removeDerivedMeasureInput(DerivedMeasureInput input)
input
- The object that implements the DerivedMeasureInput
interface.public java.util.Vector getDerivedMeasureInputs()
Vector
of objects that implement the DerivedMeasureInput
interface.public java.lang.String WriteToXML()
Operator
as an XML string.String
containing the XML that represents the Operator
.
|
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 |