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)
MySQLPacketwrite in class MySQLPacketmysqlPacketPayload - packet payload to be writepublic CommandResponsePackets execute()
CommandPacketexecute in class CommandPacketpublic boolean hasMoreResultValue()
CommandPackethasMoreResultValue in class CommandPacketpublic DatabaseProtocolPacket getResultValue()
CommandPacketgetResultValue in class CommandPacketCopyright © 2018. All rights reserved.