public class ConsistentSolveSpecification extends SyntaxObject
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 and Description |
---|
ConsistentSolveSpecification(ConsistentSolveCommand[] commands)
Creates a
ConsistentSolveSpecification that has the specified commands. |
ConsistentSolveSpecification(java.util.List<ConsistentSolveCommand> commands)
Creates a
ConsistentSolveSpecification that has the specified commands. |
Modifier and Type | Method and Description |
---|---|
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 . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public ConsistentSolveSpecification(ConsistentSolveCommand[] commands)
ConsistentSolveSpecification
that has the specified commands.commands
- An array of ConsistentSolveCommand
objects.public ConsistentSolveSpecification(java.util.List<ConsistentSolveCommand> commands)
ConsistentSolveSpecification
that has the specified commands.commands
- A List
of ConsistentSolveCommand
objects.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitConsistentSolveSpecification
method of the SyntaxObjectVisitor
and passes that method this ConsistentSolveSpecification
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitConsistentSolveSpecification
method.public ConsistentSolveCommand[] getCommands()
ConsistentSolveCommand
objects of this ConsistentSolveSpecification
.ConsistentSolveCommand
objects of this ConsistentSolveSpecification
.