public final class SolveCommand extends SimpleCommand
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
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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 . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
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.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 SyntaxObject
visitor
- 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
.