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