| Constructor and Description |
|---|
MySQLQuery(byte[] query) |
MySQLQuery(String query) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object otherObj) |
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 QueryIOExceptionpublic QueryType getQueryType()
getQueryType in interface Querypublic void writeTo(OutputStream ostream, int offset, int packLength) throws IOException
IOExceptionpublic void validate()
throws QueryException
validate in interface QueryQueryExceptionCopyright © 2014. All rights reserved.