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

org.apache.lens.api.query
Enum QueryStatus.Status

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

public static enum QueryStatus.Status
extends Enum<QueryStatus.Status>

The Enum Status.


Enum Constant Summary
CANCELED
          The canceled.
CLOSED
          The closed.
EXECUTED
          The executed.
FAILED
          The failed.
LAUNCHED
          The launched.
NEW
          The new.
QUEUED
          The queued.
RUNNING
          The running.
SUCCESSFUL
          The successful.
 
Method Summary
static QueryStatus.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QueryStatus.Status[] 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

NEW

public static final QueryStatus.Status NEW
The new.


QUEUED

public static final QueryStatus.Status QUEUED
The queued.


LAUNCHED

public static final QueryStatus.Status LAUNCHED
The launched.


RUNNING

public static final QueryStatus.Status RUNNING
The running.


EXECUTED

public static final QueryStatus.Status EXECUTED
The executed.


SUCCESSFUL

public static final QueryStatus.Status SUCCESSFUL
The successful.


FAILED

public static final QueryStatus.Status FAILED
The failed.


CANCELED

public static final QueryStatus.Status CANCELED
The canceled.


CLOSED

public static final QueryStatus.Status CLOSED
The closed.

Method Detail

values

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

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

valueOf

public static QueryStatus.Status 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.