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() |
String |
getMessage() |
AbstractResultPacket.ResultType |
getResultType() |
short |
getServerStatus() |
short |
getWarnings() |
String |
toString() |
getLengthEncodedBinary, getLengthEncodedBytes, getStringLengthEncodedBytes, read24bitword, readLong, readShort
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()
public String getMessage()
Copyright © 2016. All rights reserved.