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, readShortpublic OkPacket(ByteBuffer byteBuffer)
byteBuffer - current stream's byteBufferpublic AbstractResultPacket.ResultType getResultType()
getResultType in class AbstractResultPacketpublic long getAffectedRows()
public long getInsertId()
public short getServerStatus()
public short getWarnings()
public String getMessage()
Copyright © 2015. All rights reserved.