public enum SubmitOp extends Enum<SubmitOp>
Enum Constant and Description |
---|
ESTIMATE
Estimate query cost
|
EXECUTE
Execute the query
|
EXECUTE_WITH_TIMEOUT
Execute query and return result within timeout, if query is successful.
|
EXPLAIN
Explain the query.
|
EXPLAIN_AND_PREPARE
Explain and prepare the query.
|
PREPARE
Prepare the query.
|
Modifier and Type | Method and Description |
---|---|
static SubmitOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubmitOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubmitOp ESTIMATE
public static final SubmitOp EXECUTE
public static final SubmitOp EXPLAIN
public static final SubmitOp PREPARE
public static final SubmitOp EXPLAIN_AND_PREPARE
public static final SubmitOp EXECUTE_WITH_TIMEOUT
public static SubmitOp[] values()
for (SubmitOp c : SubmitOp.values()) System.out.println(c);
public static SubmitOp valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2018 Apache Software Foundation. All rights reserved.