public static enum ReadyForQuery.TransactionStatus extends Enum<ReadyForQuery.TransactionStatus>
| Enum Constant and Description |
|---|
ERROR
The failed transaction status, represented by the
E byte. |
IDLE
The idle transaction status, represented by the
I byte. |
TRANSACTION
The transaction transaction status, represented by the
T byte. |
| Modifier and Type | Method and Description |
|---|---|
static ReadyForQuery.TransactionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadyForQuery.TransactionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadyForQuery.TransactionStatus ERROR
E byte.public static final ReadyForQuery.TransactionStatus IDLE
I byte.public static final ReadyForQuery.TransactionStatus TRANSACTION
T byte.public static ReadyForQuery.TransactionStatus[] values()
for (ReadyForQuery.TransactionStatus c : ReadyForQuery.TransactionStatus.values()) System.out.println(c);
public static ReadyForQuery.TransactionStatus 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 © 2024. All rights reserved.