|
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.Operator
public class Operator
An operator that an analytic workspace uses in calculating the values of
a DerivedMeasure that are specified by the
DerivedMeasureInput objects associated with the
Operator.
In creating an Operator, you specify a
BaseObject that implements the
DerivedMeasureInput interface, such as a
Hierarchy, a Level, or another
Operator.
You can associate the Operator with more than one
DerivedMeasureInput object by using the
addDerivedMeasureInput method.
An Operator has an operation code that specifies the type
of operation to perform.
You specify an operation code with the setOpCode method.
The operations that an Operator can represent are the
following.
| Field Summary |
|---|
| Fields inherited from class oracle.AWXML.BaseObject |
|---|
DATABASENULL |
| Constructor Summary | |
|---|---|
Operator(BaseObject input)
Creates a new Operator for a DerivedMeasureInput. |
|
| Method Summary | |
|---|---|
void |
addDerivedMeasureInput(DerivedMeasureInput input)
Adds the specified DerivedMeasureInput to the list of
DerivedMeasureInput objects associated with the
Operator. |
void |
addOperator(Operator input)
Adds the specified Operator to the list of
Operator objects associated with this Operator. |
Operator |
createOperator()
Creates a new Operator and adds it to the list of
Operator objects associated with this Operator. |
java.util.Vector |
getDerivedMeasureInputs()
Gets the list of DerivedMeasureInput objects associated with
the Operator. |
java.lang.String |
getOpCode()
Gets the operation code specified by the Operator. |
java.util.Vector |
getOperators()
Gets the list of the Operator objects associated with this
Operator. |
void |
removeDerivedMeasureInput(DerivedMeasureInput input)
Removes the specified DerivedMeasureInput from the list of
DerivedMeasureInput objects associated with the
Operator. |
void |
setOpCode(java.lang.String input)
Specifies an operation code for the Operator. |
java.lang.String |
WriteToXML()
Gets an XML representation of the Operator. |
| 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 a DerivedMeasureInput.
input - The DerivedMeasureInput for which you want to
create a new Operator.| Method Detail |
|---|
public java.lang.String getOpCode()
Operator.
String that contains the operation code.public void setOpCode(java.lang.String input)
Operator.
The operation code identifies the operation that the analytic workspace
uses to calculate the values of a Measure.
The valid operation codes are the following.
Add Subtract Multiply Divide Power
input - A String that contains the operation code.public Operator createOperator()
Operator and adds it to the list of
Operator objects associated with this Operator.
Operator.public void addOperator(Operator input)
Operator to the list of
Operator objects associated with this Operator.
input - The Operator to add to the list.public java.util.Vector getOperators()
Operator objects associated with this
Operator.
Vector that contains the list of
Operator objects associated with this
Operator.public void addDerivedMeasureInput(DerivedMeasureInput input)
DerivedMeasureInput to the list of
DerivedMeasureInput objects associated with the
Operator.
input - The DerivedMeasureInput to add to the list.public void removeDerivedMeasureInput(DerivedMeasureInput input)
DerivedMeasureInput from the list of
DerivedMeasureInput objects associated with the
Operator.
input - The DerivedMeasureInput to remove from the list.public java.util.Vector getDerivedMeasureInputs()
DerivedMeasureInput objects associated with
the Operator.
Vector that contains the
DerivedMeasureInput objects associated with
the Operator.public java.lang.String WriteToXML()
Operator.
WriteToXML in class BaseObjectString that represents the
Operator.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||