This project has retired. For details please refer to its Attic page.
SubmitOp (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.query
Enum SubmitOp

java.lang.Object
  extended by java.lang.Enum<SubmitOp>
      extended by org.apache.lens.api.query.SubmitOp
All Implemented Interfaces:
Serializable, Comparable<SubmitOp>

public enum SubmitOp
extends Enum<SubmitOp>

The Enum SubmitOp.


Enum Constant Summary
EXECUTE
          The execute.
EXECUTE_WITH_TIMEOUT
          The execute with timeout.
EXPLAIN
          The explain.
EXPLAIN_AND_PREPARE
          The explain and prepare.
PREPARE
          The prepare.
 
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

EXECUTE

public static final SubmitOp EXECUTE
The execute.


EXPLAIN

public static final SubmitOp EXPLAIN
The explain.


PREPARE

public static final SubmitOp PREPARE
The prepare.


EXPLAIN_AND_PREPARE

public static final SubmitOp EXPLAIN_AND_PREPARE
The explain and prepare.


EXECUTE_WITH_TIMEOUT

public static final SubmitOp EXECUTE_WITH_TIMEOUT
The execute with timeout.

Method Detail

values

public static SubmitOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SubmitOp c : SubmitOp.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SubmitOp valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.