public class OkPacket extends Object implements ServerMessage
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Constructor and Description |
|---|
OkPacket(Sequencer sequencer,
long affectedRows,
long lastInsertId,
short serverStatus,
short warningCount,
boolean ending) |
| Modifier and Type | Method and Description |
|---|---|
static OkPacket |
decode(Sequencer sequencer,
io.netty.buffer.ByteBuf buf,
org.mariadb.r2dbc.client.Context context) |
boolean |
ending() |
long |
getAffectedRows() |
long |
getLastInsertId() |
short |
getServerStatus() |
short |
getWarningCount() |
boolean |
resultSetEnd() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSequencerpublic static final byte TYPE
public OkPacket(Sequencer sequencer, long affectedRows, long lastInsertId, short serverStatus, short warningCount, boolean ending)
public static OkPacket decode(Sequencer sequencer, io.netty.buffer.ByteBuf buf, org.mariadb.r2dbc.client.Context context)
public long getAffectedRows()
public long getLastInsertId()
public short getServerStatus()
public short getWarningCount()
public boolean ending()
ending in interface ServerMessagepublic boolean resultSetEnd()
resultSetEnd in interface ServerMessageCopyright © 2020 MariaDB Corporation Ab. All rights reserved.