org.apache.lens.server.api.driver
Enum DriverQueryPlan.ExecMode

java.lang.Object
  extended by java.lang.Enum<DriverQueryPlan.ExecMode>
      extended by org.apache.lens.server.api.driver.DriverQueryPlan.ExecMode
All Implemented Interfaces:
Serializable, Comparable<DriverQueryPlan.ExecMode>
Enclosing class:
DriverQueryPlan

public static enum DriverQueryPlan.ExecMode
extends Enum<DriverQueryPlan.ExecMode>

The Enum ExecMode.


Enum Constant Summary
BATCH
          The batch.
INTERACTIVE
          The interactive.
NOT_ACCEPTED
          The not accepted.
 
Method Summary
static DriverQueryPlan.ExecMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DriverQueryPlan.ExecMode[] 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

INTERACTIVE

public static final DriverQueryPlan.ExecMode INTERACTIVE
The interactive.


BATCH

public static final DriverQueryPlan.ExecMode BATCH
The batch.


NOT_ACCEPTED

public static final DriverQueryPlan.ExecMode NOT_ACCEPTED
The not accepted.

Method Detail

values

public static DriverQueryPlan.ExecMode[] 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 (DriverQueryPlan.ExecMode c : DriverQueryPlan.ExecMode.values())
    System.out.println(c);

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

valueOf

public static DriverQueryPlan.ExecMode 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.