public final class OkMessage extends Object implements WarningMessage, ServerStatusMessage, CompleteMessage
Note: OK message are also used to indicate EOF and EOF message are deprecated as of MySQL 5.7.5.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getAffectedRows() |
long |
getLastInsertId() |
short |
getServerStatuses()
Get the server statuses bitmap.
|
int |
getWarnings()
Get the number of warning(s) record.
|
int |
hashCode() |
boolean |
isDone()
Check whether this message is the last complete message, which also means that the total task has been
done.
|
String |
toString() |
public long getAffectedRows()
public long getLastInsertId()
public short getServerStatuses()
ServerStatusMessagegetServerStatuses in interface ServerStatusMessagepublic int getWarnings()
WarningMessagegetWarnings in interface WarningMessagepublic boolean isDone()
CompleteMessageisDone in interface CompleteMessageCopyright © 2018–2023 asyncer.io. All rights reserved.