Skip navigation links

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

E10794-01


oracle.olapi.syntax
Class SolveCommand

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildCommand
          extended by oracle.olapi.syntax.SimpleCommand
              extended by oracle.olapi.syntax.SolveCommand


public final class SolveCommand
extends SimpleCommand

A SimpleCommand that initiates the operations that calculate the data for the measures of an MdmCube. You get an instance of a SolveCommand by using one of static constant fields of the class. You add a SolveCommand after a LoadCommand in the list of build commands in the BuildSpecification that you associate with the MdmCube.

For an MdmCube that is partitioned, you can specify a serial solve or a parallel solve. A serial solve calculates the data for the measures of the partitions serially, using a single process, regardless of the parallelism setting specified by the BuildProperties object that is associated with the BuildProcess that includes the cube. A parallel solve calculates the data for the measures of the partitions simultaneously, using one process for each partition, or as many processes as are available. If the partitioning of the cube does not match the partitioning of the source table, then a serial solve is a good choice.

See Also:
LoadCommand

Field Summary
static SolveCommand SOLVE
          Produces a SolveCommand.
static SolveCommand SOLVE_PARALLEL
          Produces a SolveCommand that specifies solving the data using parallel processes, if possible.
static SolveCommand SOLVE_SERIAL
          Produces a SolveCommand that specifies solving the data using a single process.

 

Method Summary
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitSolveCommand method of the SyntaxObjectVisitor and passes that method this SolveCommand 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

 

Field Detail

SOLVE

public static final SolveCommand SOLVE
Produces a SolveCommand.

SOLVE_SERIAL

public static final SolveCommand SOLVE_SERIAL
Produces a SolveCommand that specifies solving the data using a single process.

SOLVE_PARALLEL

public static final SolveCommand SOLVE_PARALLEL
Produces a SolveCommand that specifies solving the data using parallel processes, if possible.

Method Detail

visit

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

Skip navigation links

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