public final class ComInitDbPacket extends CommandPacket
PAYLOAD_LENGTH, SEQUENCE_LENGTH
Constructor and Description |
---|
ComInitDbPacket(int sequenceId,
MySQLPacketPayload mysqlPacketPayload) |
Modifier and Type | Method and Description |
---|---|
CommandResponsePackets |
execute()
Execute command.
|
DatabaseProtocolPacket |
getResultValue()
Get result value.
|
boolean |
hasMoreResultValue()
Has more result value.
|
void |
write(MySQLPacketPayload mysqlPacketPayload)
Write packet to byte buffer.
|
public ComInitDbPacket(int sequenceId, MySQLPacketPayload mysqlPacketPayload)
public void write(MySQLPacketPayload mysqlPacketPayload)
MySQLPacket
write
in class MySQLPacket
mysqlPacketPayload
- packet payload to be writepublic CommandResponsePackets execute()
CommandPacket
execute
in class CommandPacket
public boolean hasMoreResultValue()
CommandPacket
hasMoreResultValue
in class CommandPacket
public DatabaseProtocolPacket getResultValue()
CommandPacket
getResultValue
in class CommandPacket
Copyright © 2018. All rights reserved.