public class OkPacket extends AbstractResultPacket
AbstractResultPacket.ResultType
Constructor and Description |
---|
OkPacket(ByteBuffer byteBuffer)
Read Ok stream result.
|
Modifier and Type | Method and Description |
---|---|
long |
getAffectedRows() |
long |
getInsertId() |
AbstractResultPacket.ResultType |
getResultType() |
short |
getServerStatus() |
short |
getWarnings() |
String |
toString() |
getLengthEncodedBinary, read24bitword
public OkPacket(ByteBuffer byteBuffer)
byteBuffer
- current stream's byteBufferpublic AbstractResultPacket.ResultType getResultType()
getResultType
in class AbstractResultPacket
public long getAffectedRows()
public long getInsertId()
public short getServerStatus()
public short getWarnings()
Copyright © 2016. All rights reserved.