public enum SubmitOp extends Enum<SubmitOp>
| Enum Constant and Description | 
|---|
| ESTIMATEEstimate query cost | 
| EXECUTEExecute the query | 
| EXECUTE_WITH_TIMEOUTExecute query and return result within timeout, if query is successful. | 
| EXPLAINExplain the query. | 
| EXPLAIN_AND_PREPAREExplain and prepare the query. | 
| PREPAREPrepare 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–2015 Apache Software Foundation. All rights reserved.