Class ReadyForQuery
java.lang.Object
io.r2dbc.postgresql.message.backend.ReadyForQuery
- All Implemented Interfaces:
BackendMessage
The ReadyForQuery message.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration of backend transaction statuses. -
Constructor Summary
ConstructorsConstructorDescriptionReadyForQuery(ReadyForQuery.TransactionStatus transactionStatus) Create a new message. -
Method Summary
-
Constructor Details
-
ReadyForQuery
Create a new message.- Parameters:
transactionStatus- the current backend transaction status- Throws:
IllegalArgumentException- iftransactionStatusisnull
-
-
Method Details
-
equals
-
getTransactionStatus
Returns the current backend transaction status.- Returns:
- the current backend transaction status
-
hashCode
-
toString
-