|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.BuildCommand
oracle.olapi.syntax.SimpleCommand
oracle.olapi.syntax.SolveCommand
public final class SolveCommand
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.
LoadCommand| Field Summary | |
|---|---|
static java.lang.String |
NO_PARALLELISM_OPTIONA constant that specifies no parallelism for a SolveCommand. |
static java.lang.String |
PARALLEL_OPTIONA constant that specifies using parallel processes, if possible, for a SolveCommand. |
static java.lang.String |
SERIAL_OPTIONA constant that specifies using a single process for a SolveCommand. |
static SolveCommand |
SOLVEProduces a SolveCommand. |
static SolveCommand |
SOLVE_PARALLELProduces a SolveCommand that specifies solving the data using parallel processes, if possible. |
static SolveCommand |
SOLVE_SERIALProduces 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 |
|---|
public static final java.lang.String NO_PARALLELISM_OPTION
SolveCommand.
public static final java.lang.String SERIAL_OPTION
SolveCommand.
public static final java.lang.String PARALLEL_OPTION
SolveCommand.
public static final SolveCommand SOLVE
SolveCommand.public static final SolveCommand SOLVE_SERIAL
SolveCommand that specifies solving the data using a single process.public static final SolveCommand SOLVE_PARALLEL
SolveCommand that specifies solving the data using parallel processes, if possible.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitSolveCommand method of the SyntaxObjectVisitor and passes that method this SolveCommand and an Object.visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.Object returned by the visitSolveCommand method.public java.lang.String getParallelismOption()
SolveCommand, which can be PARALLEL_OPTION, SERIAL_OPTION, or NO_PARALLELISM_OPTION.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||