public enum ServerStatus extends Enum<ServerStatus>
| Enum Constant and Description |
|---|
AUTOCOMMIT |
CURSOR_EXISTS |
DB_DROPPED |
IN_TRANSACTION |
LAST_ROW_SENT |
MORE_RESULTS_EXISTS |
NO_BACKSLASH_ESCAPES |
QUERY_NO_GOOD_INDEX_USED |
QUERY_NO_INDEX_USED |
QUERY_WAS_SLOW |
| Modifier and Type | Method and Description |
|---|---|
short |
getBitmapFlag()
returns the bit map flag
|
static Set<ServerStatus> |
getServerStatusSet(short i)
creates an enum set of the bitmasked field i
|
static ServerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus IN_TRANSACTION
public static final ServerStatus AUTOCOMMIT
public static final ServerStatus MORE_RESULTS_EXISTS
public static final ServerStatus QUERY_NO_GOOD_INDEX_USED
public static final ServerStatus QUERY_NO_INDEX_USED
public static final ServerStatus CURSOR_EXISTS
public static final ServerStatus LAST_ROW_SENT
public static final ServerStatus DB_DROPPED
public static final ServerStatus NO_BACKSLASH_ESCAPES
public static final ServerStatus QUERY_WAS_SLOW
public static ServerStatus[] values()
for (ServerStatus c : ServerStatus.values()) System.out.println(c);
public static ServerStatus 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 nullpublic short getBitmapFlag()
public static Set<ServerStatus> getServerStatusSet(short i)
i - the bitmasked fieldCopyright © 2016. All rights reserved.