Class MySQLOKPacket
java.lang.Object
org.apache.shardingsphere.db.protocol.mysql.packet.generic.MySQLOKPacket
- All Implemented Interfaces:
MySQLPacket,DatabasePacket<MySQLPacketPayload>
OK packet protocol for MySQL.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMySQLOKPacket(int sequenceId, int statusFlag) MySQLOKPacket(int sequenceId, long affectedRows, long lastInsertId, int statusFlag) MySQLOKPacket(MySQLPacketPayload payload) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.db.protocol.mysql.packet.MySQLPacket
getSequenceId
-
Field Details
-
HEADER
public static final int HEADERHeader of OK packet.- See Also:
-
-
Constructor Details
-
MySQLOKPacket
public MySQLOKPacket(int sequenceId, int statusFlag) -
MySQLOKPacket
public MySQLOKPacket(int sequenceId, long affectedRows, long lastInsertId, int statusFlag) -
MySQLOKPacket
-
-
Method Details
-
write
- Specified by:
writein interfaceDatabasePacket<MySQLPacketPayload>
-