Skip navigation links

Oracle® OLAP Java API Reference
12c Release 1 (12.1)

E17708-05


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 java.lang.String NO_PARALLELISM_OPTION
          A constant that specifies no parallelism for a SolveCommand.
static java.lang.String PARALLEL_OPTION
          A constant that specifies using parallel processes, if possible, for a SolveCommand.
static java.lang.String SERIAL_OPTION
          A constant that specifies using a single process for a SolveCommand.
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.String getParallelismOption()
          Gets a static value that indicates the parallelism option of this SolveCommand, which can be PARALLEL_OPTION, SERIAL_OPTION, or NO_PARALLELISM_OPTION.
 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

NO_PARALLELISM_OPTION

public static final java.lang.String NO_PARALLELISM_OPTION
A constant that specifies no parallelism for a SolveCommand.
See Also:
Constant Field Values

SERIAL_OPTION

public static final java.lang.String SERIAL_OPTION
A constant that specifies using a single process for a SolveCommand.
See Also:
Constant Field Values

PARALLEL_OPTION

public static final java.lang.String PARALLEL_OPTION
A constant that specifies using parallel processes, if possible, for a SolveCommand.
See Also:
Constant Field Values

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.

getParallelismOption

public java.lang.String getParallelismOption()
Gets a static value that indicates the parallelism option of this SolveCommand, which can be PARALLEL_OPTION, SERIAL_OPTION, or NO_PARALLELISM_OPTION.

Skip navigation links

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