|
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.OlapMeasure
A Measure
resulting from a specific OLAP calculation.
An OlapMeasure
can implement the following OLAP DML operations:
Lead Lag Share ShareToLevel ShareToParent PriorPeriod PeriodToDate SamePeriodAncestorAgo MovingSum MovingMin MovingMax MovingAverage MovingCount
For more information, see the OLAP DML Reference.
DerivedMeasure
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
OlapMeasure(BaseObject input) Creates an OlapMeasure for the specified Measure . |
Method Summary | |
void |
addOlapMeasureInput(OlapMeasureInput input) Adds the specified OlapMeasureInput to the OlapMeasure . |
java.lang.String |
Alter(AWConnection connection) Alters the class attributes of the OlapMeasure in the current analytic workspace of the specified database connection. |
java.lang.String |
Create(AWConnection connection) Creates an OlapMeasure in the current analytic workspace of the specified database connection. |
OlapMeasureInput |
createOlapMeasureInput() Creates an OlapMeasureInput for the OlapMeasure . |
java.util.Vector |
getOlapMeasureInputs() Returns the inputs to the OlapMeasure . |
java.lang.String |
getOlapOperator() Returns the operator used by the OlapMeasure . |
boolean |
isValid() Indicates whether the OlapMeasure is a valid object in the analytic workspace. |
void |
removeOlapMeasureInput(OlapMeasureInput input) Removes the specified OlapMeasureInput from the OlapMeasure . |
void |
setOlapOperator(java.lang.String input) Sets the operator used by the OlapMeasure . |
java.lang.String |
WriteToXML() Returns the OlapMeasure as an XML string. |
Methods inherited from class oracle.AWXML.Measure |
Delete, getAutoSolve, getDataType, getSolveDefinition, setAutoSolve, setDataType, setSolveDefinition |
Methods inherited from class oracle.AWXML.BaseObject |
CreateAfter, CreateBefore, CreateFirst, DataRead, 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 OlapMeasure(BaseObject input)
OlapMeasure
for the specified Measure
.input
- The Measure
that owns the OlapMeasure
.Method Detail |
public void setOlapOperator(java.lang.String input)
OlapMeasure
.
Operators are:
Add Subtract Multiply Divide Power
input
- The name of the operator.public java.lang.String getOlapOperator()
OlapMeasure
.public void addOlapMeasureInput(OlapMeasureInput input)
OlapMeasureInput
to the OlapMeasure
.input
- The OlapMeasureInput
to add.public void removeOlapMeasureInput(OlapMeasureInput input)
OlapMeasureInput
from the OlapMeasure
.input
- The OlapMeasureInput
to remove.public java.util.Vector getOlapMeasureInputs()
OlapMeasure
.Vector
of OlapMeasureInput
objects.public OlapMeasureInput createOlapMeasureInput()
OlapMeasureInput
for the OlapMeasure
.OlapMeasureInput
.public java.lang.String WriteToXML()
OlapMeasure
as an XML string.String
containing the XML that represents the OlapMeasure
.public java.lang.String Create(AWConnection connection)
OlapMeasure
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)
OlapMeasure
in the current analytic workspace of the specified database connection.
You can use the Alter
method to change descriptive names of the object or reset the schema of a top-level object.
To alter the object's structural definition, you must create, modify, or remove its owned objects.
connection
- The AWConnection
that represents the database connection.success
" if successful.public boolean isValid()
OlapMeasure
is a valid object in the analytic workspace.boolean
that is true
if the OlapMeasure
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 |