|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Utils.MySQL.MySQLQuery
public class MySQLQuery
Represents a MySQL select query.
Constructor Summary | |
---|---|
MySQLQuery(MySQLConnector conn)
Basic constructor |
Method Summary | |
---|---|
void |
close()
Closes a previously issued select query, releasing JDBC resources. |
java.sql.ResultSet |
execute(java.lang.String query)
Executes a select query on this connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MySQLQuery(MySQLConnector conn)
conn
- The DB connection.Method Detail |
---|
public java.sql.ResultSet execute(java.lang.String query)
query
- The string containing the query to be executed.
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |