Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

oracle.AWXML
Class AggregationSolve

java.lang.Object
  |
  +--oracle.AWXML.BaseObject
        |
        +--oracle.AWXML.Solve
              |
              +--oracle.AWXML.AggregationSolve

public class AggregationSolve
extends Solve

A Solve that specifies aggregation for a given measure or a group of measures in a cube. Each AggregationSolve specifies a set of target measures to hold the results of the aggregation. If you do not specify the source measures, the target measures are both source and target, causing the original measures to be overwritten with the results of the aggregation. If you specify both source and target, the AGGREGATE FROM command is used in the OLAP DML.

An AggregationSolve uses an AggregationDefinition to define the aggregation rules. In the OLAP DML, the AggregationSolve is represented by an aggregation map.

For more information, refer to the AGGREGATE command in the OLAP DML Reference.


Fields inherited from class oracle.AWXML.BaseObject
AWNULL, DATABASENULL, m_commandResults, m_commandResultText, m_id, m_listResults, m_longName, m_name, m_owner, m_pluralName, m_schema, m_shortName, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_objectCounter, s_StartEndTag, s_StartStartTag

 

Constructor Summary
AggregationSolve()
          Default Constructor
AggregationSolve(BaseObject input)
          Constructor that takes the owner of this object.

 

Method Summary
 void addTarget(Measure input)
           
 java.lang.String Create(AWConnection connection)
          Creates the current object in the analytic workspace.
 java.lang.String CreateAfter(AWConnection connection, BaseObject referencedObj)
          Creates the current object in the analytic workspace as part of an ordered set of objects after the specified object.
 java.lang.String CreateBefore(AWConnection connection, BaseObject referencedObj)
          Creates the current object in the analytic workspace as part of an ordered set of objects before the specified object.
 java.lang.String CreateFirst(AWConnection connection)
          Creates the current object in the analytic workspace first as part of an ordered set of objects.
 java.lang.String Delete(AWConnection connection)
          Removes a Solve from the analytic workspace.
 AggregationDefinition getAggregationDefinition()
           
 Measure getSource()
           
 java.util.Vector getTargets()
           
 void removeTarget(Measure input)
           
 void setAggregationDefinition(AggregationDefinition input)
           
 void setSource(Measure input)
           
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

Methods inherited from class oracle.AWXML.Solve
addDimensionMemberSelection, createDimensionMemberSelection, getDimensionMemberSelection, getId, getParentId, getSolveOrder, readAWMetaData, removeDimensionMemberSelection, setSolveOrder, setSolveOrder

 

Methods inherited from class oracle.AWXML.BaseObject
Alter, getLongName, getName, getOwner, getPluralName, getSchema, getShortName, setLongName, setName, setPluralName, setSchema, setShortName

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AggregationSolve

public AggregationSolve()
Default Constructor

AggregationSolve

public AggregationSolve(BaseObject input)
Constructor that takes the owner of this object.
Parameters:
input - BaseObject that is the owner of this object in the object model
Method Detail

setAggregationDefinition

public void setAggregationDefinition(AggregationDefinition input)
Returns:
 

getAggregationDefinition

public AggregationDefinition getAggregationDefinition()
Returns:
 

getSource

public Measure getSource()
Returns:
 

setSource

public void setSource(Measure input)
Returns:
 

addTarget

public void addTarget(Measure input)
Returns:
 

removeTarget

public void removeTarget(Measure input)
Returns:
 

getTargets

public java.util.Vector getTargets()
Returns:
 

WriteToXML

public java.lang.String WriteToXML()
Returns the object as an XML string.
Overrides:
WriteToXML in class Solve
Returns:
A String containing the XML that represents the object

Create

public java.lang.String Create(AWConnection connection)
Description copied from class: BaseObject
Creates the current object in the analytic workspace.
Overrides:
Create in class BaseObject
Returns:
 

CreateFirst

public java.lang.String CreateFirst(AWConnection connection)
Description copied from class: BaseObject
Creates the current object in the analytic workspace first as part of an ordered set of objects.
Overrides:
CreateFirst in class BaseObject
Returns:
 

CreateAfter

public java.lang.String CreateAfter(AWConnection connection,
BaseObject referencedObj)
Description copied from class: BaseObject
Creates the current object in the analytic workspace as part of an ordered set of objects after the specified object.
Overrides:
CreateAfter in class BaseObject
Returns:
 

CreateBefore

public java.lang.String CreateBefore(AWConnection connection,
BaseObject referencedObj)
Description copied from class: BaseObject
Creates the current object in the analytic workspace as part of an ordered set of objects before the specified object.
Overrides:
CreateBefore in class BaseObject
Returns:
 

Delete

public java.lang.String Delete(AWConnection connection)
Description copied from class: Solve
Removes a Solve from the analytic workspace.
Overrides:
Delete in class Solve
Returns:
 

Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.