|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SubmitOp> org.apache.lens.api.query.SubmitOp
public enum SubmitOp
The Enum for query submit operations.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |