Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-06


oracle.olapi.syntax
Class ConsistentSolveSpecification

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.ConsistentSolveSpecification


public class ConsistentSolveSpecification
extends SyntaxObject

A SyntaxObject that specifies how Oracle OLAP generates solved data for an MdmBaseMeasure or for all of the MdmBaseMeasure objects of an MdmCube. A ConsistentSolveSpecification contains an ordered list of ConsistentSolveCommand objects. An application creates a new ConsistentSolveSpecification and then associates it with an MdmCube or MdmBaseMeasure by calling the setConsistentSolveSpecification method of the cube or the measure. The ConsistentSolveCommand objects specify the way in which Oracle OLAP aggregates the measure data for each of the dimensions. Executing the ConsistentSolveCommand objects produces the consistent state of the cube.

An application can make intermediate, possibly temporary solves to some part of the cube, such as aggregating or allocating a set of measure values. However, because Oracle OLAP does not rebuild the entire cube until the application requests it, the state of the cube is not then consistent. The ConsistentSolveSpecification of the cube defines the operations that create the consistent state. Therefore, the application can achieve the consistent state again by executing a build of the entire cube.


Constructor Summary
ConsistentSolveSpecification(ConsistentSolveCommand[] commands)
          Creates a ConsistentSolveSpecification that has the the specified commands.
ConsistentSolveSpecification(java.util.List<ConsistentSolveCommand> commands)
          Creates a ConsistentSolveSpecification that has the the specified commands.

 

Method Summary
 ConsistentSolveCommand[] getCommands()
          Gets the ConsistentSolveCommand objects of this ConsistentSolveSpecification.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitConsistentSolveSpecification method of the SyntaxObjectVisitor and passes that method this ConsistentSolveSpecification and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

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

 

Constructor Detail

ConsistentSolveSpecification

public ConsistentSolveSpecification(ConsistentSolveCommand[] commands)
Creates a ConsistentSolveSpecification that has the the specified commands.
Parameters:
commands - An array of ConsistentSolveCommand objects.

ConsistentSolveSpecification

public ConsistentSolveSpecification(java.util.List<ConsistentSolveCommand> commands)
Creates a ConsistentSolveSpecification that has the the specified commands.
Parameters:
commands - A List of ConsistentSolveCommand objects.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitConsistentSolveSpecification method of the SyntaxObjectVisitor and passes that method this ConsistentSolveSpecification and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitConsistentSolveSpecification method.

getCommands

public ConsistentSolveCommand[] getCommands()
Gets the ConsistentSolveCommand objects of this ConsistentSolveSpecification.
Returns:
An array of the ConsistentSolveCommand objects of this ConsistentSolveSpecification.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.