com.github.shyiko.mysql.binlog.network.protocol.command
Class QueryCommand
java.lang.Object
com.github.shyiko.mysql.binlog.network.protocol.command.QueryCommand
- All Implemented Interfaces:
- Command, Packet
public class QueryCommand
- extends Object
- implements Command
- Author:
- Stanley Shyiko
| Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet |
MAX_LENGTH |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryCommand
public QueryCommand(String sql)
toByteArray
public byte[] toByteArray()
throws IOException
- Specified by:
toByteArray in interface Command
- Throws:
IOException
Copyright © 2016. All Rights Reserved.