public final class OLAPDMLCommand extends SimpleCommand
SimpleCommand
that represents an OLAP DML command in a BuildSpecification
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_OPTION
A constant that represents the default option to the OLAP DML command.
|
static java.lang.String |
PARALLEL_OPTION
A constant that represents an option that specifies parallel processing for the OLAP DML command.
|
static java.lang.String |
SERIAL_OPTION
A constant that represents an option that specifies serial processing for the OLAP DML command.
|
Constructor and Description |
---|
OLAPDMLCommand(java.lang.String dml)
Creates an
OLAPDMLCommand object that has the specified OLAP DML command. |
OLAPDMLCommand(java.lang.String dml, java.lang.String option)
Creates an
OLAPDMLCommand object that has the specified OLAP DML command and option. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDML()
Gets the OLAP DML command of this
OLAPDMLCommand . |
java.lang.String |
getOption()
Gets the option specified for this
OLAPDMLCommand . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitOLAPDMLCommand method of the SyntaxObjectVisitor and passes that method this OLAPDMLCommand and an Object . |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public static final java.lang.String DEFAULT_OPTION
public static final java.lang.String SERIAL_OPTION
public static final java.lang.String PARALLEL_OPTION
public OLAPDMLCommand(java.lang.String dml, java.lang.String option)
OLAPDMLCommand
object that has the specified OLAP DML command and option. If you specify the PARALLEL_OPTION, then Oracle OLAP runs the commands in parallel by cube partition. If you specify the SERIAL_OPTION or the DEFAULT_OPTION, then Oracle OLAP runs the commands serially for the entire cube.dml
- A String
that contains an OLAP DML command.option
- A String
that contains one of the options for this class: DEFAULT_OPTION, SERIAL_OPTION, or PARALLEL_OPTION.public OLAPDMLCommand(java.lang.String dml)
OLAPDMLCommand
object that has the specified OLAP DML command.dml
- A String
that contains an OLAP DML command.public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitOLAPDMLCommand
method of the SyntaxObjectVisitor
and passes that method this OLAPDMLCommand
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitOLAPDMLCommand
method.public java.lang.String getDML()
OLAPDMLCommand
.String
that contains the OLAP DML command of this OLAPDMLCommand
.public java.lang.String getOption()
OLAPDMLCommand
. The option is the value of one of the contants of this class: DEFAULT_OPTION, SERIAL_OPTION, or PARALLEL_OPTION.String
that contains the option for the OLAP DML command of this OLAPDMLCommand
.