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

B10994-01

oracle.olapi.metadata.mtm
Class MtmAggregationSpecification

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmSolveSpecification
                    |
                    +--oracle.olapi.metadata.mtm.MtmAggregationSpecification

public class MtmAggregationSpecification
extends MtmSolveSpecification

An MtmSolveSpecification that specifies how to solve an MtmUnsolvedCube, that is, which SQL function to apply when aggregating the data of the measures specified by the dimensions of the cube, the order in which to process the dimensions, and other aspects of the aggregation operations. An MtmAggregationSpecification has a collection of one or more MtmAggregationStep objects. An MtmAggregationStep can specify the aggregation operations for one or more of the dimensions of the cube. Each dimension is associated with no more than one MtmAggregationStep.

Oracle OLAP aggregates the measure values for the dimensions in the order that the MtmAggregationStep objects appear in its List of MtmAggregationStep objects. For an MtmAggregationStep that specifies the operations for more than one dimension, the order of the MtmDimensionMap objects in the MtmAggregationStep determines the order of operations.


Method Summary
 java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMtmAggregationSpecification method in the specified MtmObjectVisitor and passes that method this MtmAggregationSpecification and the specified context object.
 java.util.List getAggregationSteps()
          Gets the MtmAggregationStep objects that specify the aggregation operations that Oracle OLAP performs for an MtmUnsolvedCube.

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getID

 

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

 

Method Detail

acceptVisitor

public java.lang.Object acceptVisitor(MtmObjectVisitor visitor,
                                      java.lang.Object context)
Calls the visitMtmAggregationSpecification method in the specified MtmObjectVisitor and passes that method this MtmAggregationSpecification and the specified context object.
Parameters:
visitor - An MtmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMtmAggregationSpecification method.
Overrides:
acceptVisitor in class MtmObject

getAggregationSteps

public java.util.List getAggregationSteps()
Gets the MtmAggregationStep objects that specify the aggregation operations that Oracle OLAP performs for an MtmUnsolvedCube.
Returns:
A List of MtmAggregationStep objects.

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

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.