java.io.Serializable
, java.lang.Comparable<DBConnection.FetchType>
public static enum DBConnection.FetchType extends java.lang.Enum<DBConnection.FetchType>
Enum Constant | Description |
---|---|
EMPTY |
|
PREPAREDSTATEMENT |
|
STATEMENT |
|
TESTSTATEMENT |
Modifier and Type | Method | Description |
---|---|---|
static DBConnection.FetchType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DBConnection.FetchType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBConnection.FetchType EMPTY
public static final DBConnection.FetchType STATEMENT
public static final DBConnection.FetchType PREPAREDSTATEMENT
public static final DBConnection.FetchType TESTSTATEMENT
public static DBConnection.FetchType[] values()
for (DBConnection.FetchType c : DBConnection.FetchType.values()) System.out.println(c);
public static DBConnection.FetchType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null