public static enum Query.State extends Enum<Query.State>
Enum Constant and Description |
---|
CLOSE |
FETCHED_NODATA |
FETCHED_OK |
OPEN |
Modifier and Type | Method and Description |
---|---|
static Query.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.State OPEN
public static final Query.State FETCHED_OK
public static final Query.State FETCHED_NODATA
public static final Query.State CLOSE
public static Query.State[] values()
for (Query.State c : Query.State.values()) System.out.println(c);
public static Query.State 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 © 2016 The Apache Software Foundation. All rights reserved.