|
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.ExternalSourceExpression
oracle.AWXML.RestrictedSourceExpression
oracle.AWXML.MeasureSourceExpression
public class MeasureSourceExpression
A RestrictedSourceExpression that maps one or more relational
columns to a Measure.
You can limit the rows in the source columns by using the methods the
MeasureSourceExpression class inherits from
RestrictedSourceExpression.
You can specify a SQL aggregation function for the
MeasureSourceExpression with the
setRelationalOperator method.
A MeasureSourceExpression is owned by a
CubeMapGroup.
To create a MeasureSourceExpression, use the
CreateAttributeMap method of a CubeMapGroup.
MappingGroup| Field Summary |
|---|
| Fields inherited from class oracle.AWXML.BaseObject |
|---|
DATABASENULL |
| Constructor Summary | |
|---|---|
MeasureSourceExpression(BaseObject input)
Creates a MeasureSourceExpression for the specified
CubeMapGroup. |
|
| Method Summary | |
|---|---|
java.lang.String |
Alter(AWConnection connection)
Changes the textual attributes of the MeasureSourceExpression,
such as its short and long names, in the analytic workspace to those
currently specified by the MeasureSourceExpression. |
java.lang.String |
Create(AWConnection connection)
Creates the MeasureSourceExpression in the current analytic
workspace of the specified database connection. |
java.lang.String |
Delete(AWConnection connection)
Deletes the MeasureSourceExpression in the current
analytic workspace of the specified database connection. |
java.lang.String |
getRelationalOperator()
Gets the name of the relational SQL aggregation function specified for the MeasureSourceExpression. |
void |
setRelationalOperator(java.lang.String input)
Specifies a relational SQL aggregation function that operates on the source columns of the MeasureSourceExpression. |
java.lang.String |
WriteToXML()
Gets an XML representation of the MeasureSourceExpression. |
| Methods inherited from class oracle.AWXML.RestrictedSourceExpression |
|---|
createRestriction, getRestriction, getWhereClause, setRestriction, setWhereClause |
| Methods inherited from class oracle.AWXML.ExternalSourceExpression |
|---|
addSourceColumn, CreateSourceColumn, getSourceColumns, getTargetObject, removeSourceColumn, setTargetObject |
| 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 MeasureSourceExpression(BaseObject input)
MeasureSourceExpression for the specified
CubeMapGroup.
To create a MeasureSourceExpression, an application should use
the CreateAttributeMap method of a CubeMapGroup.
input - The CubeMapGroup to own the
MeasureSourceExpression.| Method Detail |
|---|
public void setRelationalOperator(java.lang.String input)
MeasureSourceExpression.
SQL aggregation functions include AVG, FIRST, LAST, MAX, MIN,
RANK, STDDEV, SUM, and VARIANCE.
input - The SQ: aggregation function to operate on the source
columns of the MeasureSourceExpression.public java.lang.String getRelationalOperator()
MeasureSourceExpression.
String that contains the name of the relational
aggregation function.public java.lang.String WriteToXML()
MeasureSourceExpression.
WriteToXML in class RestrictedSourceExpressionString that represents the
MeasureSourceExpression.public java.lang.String Create(AWConnection connection)
MeasureSourceExpression in the current analytic
workspace of the specified database connection.
To create a MeasureSourceExpression object, an application
should use the CreateAttributeMap method of a
CubeMapGroup.
Create in class BaseObjectconnection - The AWConnection that represents the
database connection.
String that contains Success if
the method creates the MeasureSourceExpression.public java.lang.String Alter(AWConnection connection)
MeasureSourceExpression,
such as its short and long names, in the analytic workspace to those
currently specified by the MeasureSourceExpression.
Alter in class BaseObjectconnection - The AWConnection that represents the
database connection.
String that contains Success if
the method makes the changes.public java.lang.String Delete(AWConnection connection)
MeasureSourceExpression in the current
analytic workspace of the specified database connection.
Delete in class BaseObjectconnection - The AWConnection that represents the
database connection.
String that contains Success if
the method deletes the MeasureSourceExpression.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||