org.apache.hadoop.hbase.hbql.client
Enum QueryListener.ExceptionSource
java.lang.Object
java.lang.Enum<QueryListener.ExceptionSource>
org.apache.hadoop.hbase.hbql.client.QueryListener.ExceptionSource
- All Implemented Interfaces:
- Serializable, Comparable<QueryListener.ExceptionSource>
- Enclosing interface:
- QueryListener<T>
public static enum QueryListener.ExceptionSource
- extends Enum<QueryListener.ExceptionSource>
QUERYSTART
public static final QueryListener.ExceptionSource QUERYSTART
ONEACHROW
public static final QueryListener.ExceptionSource ONEACHROW
QUERYCOMPLETE
public static final QueryListener.ExceptionSource QUERYCOMPLETE
ITERATOR
public static final QueryListener.ExceptionSource ITERATOR
values
public static QueryListener.ExceptionSource[] 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 (QueryListener.ExceptionSource c : QueryListener.ExceptionSource.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueryListener.ExceptionSource 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 © 2011. All Rights Reserved.