Constructor and Description |
---|
MySQLQuery(byte[] query) |
MySQLQuery(String query) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object otherObj) |
int |
getPacketLength() |
String |
getQuery() |
QueryType |
getQueryType() |
int |
length() |
String |
toString() |
void |
validate() |
void |
writeTo(OutputStream os) |
void |
writeTo(OutputStream ostream,
int offset,
int packLength) |
public MySQLQuery(String query)
public MySQLQuery(byte[] query)
public int length()
public void writeTo(OutputStream os) throws IOException
writeTo
in interface Query
IOException
public QueryType getQueryType()
getQueryType
in interface Query
public void writeTo(OutputStream ostream, int offset, int packLength) throws IOException
IOException
public void validate() throws QueryException
validate
in interface Query
QueryException
public int getPacketLength()
getPacketLength
in interface Query
Copyright © 2015. All rights reserved.