|
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.CalculationSpecification
An abstract class that specifies how to aggregate data over a dimension.
An AggregationDefinition
owns an ordered set of CalculationSpecification
objects, each one specifying how to aggregate the data along one of its dimensions. Position within the calculation list determines when each calculation is performed.
A CalculationSpecification
can be either an Aggregation
or a ModelRef
. An Aggregation
specifies the aggregation instructions for a hierarchical dimension. A ModelRef
references a predefined Model
to specify aggregation instructions, typically for non-hierarchical dimensions such as line items.
An AggregationDefinition
is implemented in the OLAP DML as an aggmap object for aggregation. Each CalculationSpecification
is either a RELATION statement or a MODEL statement in the aggmap.
For more information, see the OLAP DML Reference.
Fields inherited from class oracle.AWXML.BaseObject |
DATABASENULL |
Constructor Summary | |
CalculationSpecification(BaseObject input) Creates a new CalculationSpecification for the specified AggregationDefinition . |
Method Summary | |
java.lang.String |
Create(AWConnection connection) Creates the CalculationSpecification in the current analytic workspace of the specified database connection. |
java.lang.String |
getAggregationText(AWConnection connection) Returns the OLAP DML RELATION or MODEL statement implemented by the CalculationSpecification in the current analytic workspace of the specified database connection. |
int |
getCalculationOrder() Returns the integer position within the calculation list. |
void |
setCalculationOrder(int input) Sets the position within the calculation list to the specified integer. |
void |
setCalculationOrder(java.lang.String input) Sets the position within the calculation list to the integer associated with the specified String . |
java.lang.String |
WriteToXML() Returns the CalculationSpecification as an XML string. |
Methods inherited from class oracle.AWXML.BaseObject |
Alter, 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 CalculationSpecification(BaseObject input)
CalculationSpecification
for the specified AggregationDefinition
.input
- The AggregationDefinition
that owns the new CalculationSpecification
.Method Detail |
public void setCalculationOrder(int input)
input
- An int
specifying the position in the list of CalculationSpecification
objects for the AggregationDefinition.public void setCalculationOrder(java.lang.String input)
String
.input
- A String
specifying the position in the list of CalculationSpecification
objects for the AggregationDefinition.public int getCalculationOrder()
int
specifying the position in the list of CalculationSpecification
objects for the AggregationDefinition.public java.lang.String WriteToXML()
CalculationSpecification
as an XML string.String
containing the XML that represents the CalculationSpecification
.public java.lang.String getAggregationText(AWConnection connection)
CalculationSpecification
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that represents the database connection.public java.lang.String Create(AWConnection connection)
CalculationSpecification
in the current analytic workspace of the specified database connection.connection
- The AWConnection
that represents the database connection.success
" if successful
|
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 |