|
DODS 7.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lutris.appserver.server.sql.standard.StandardDBQuery
public class StandardDBQuery
Standard implementation of a DBQuery object.
DBQuery
Constructor Summary | |
---|---|
protected |
StandardDBQuery(DBConnection dbConnection)
Construct a query object for use on the supplied dB connection. |
Method Summary | |
---|---|
protected void |
finalize()
Finalizer. |
boolean |
handleException(java.sql.SQLException e)
Exception handler. |
protected void |
logDebug(java.lang.String str)
Logging. |
java.lang.Object |
next()
Returns a new object representing the next result form the query. |
void |
query(Query q)
Query the database. |
void |
release()
Frees all resources consumed by this query. |
protected void |
setReleaseConnection(boolean rc)
|
void |
validate()
Method to ensure this object is still valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected StandardDBQuery(DBConnection dbConnection) throws java.sql.SQLException
dbConnection
- The database connection to use.
java.sql.SQLException
- If a database access error occurs.Method Detail |
---|
public void query(Query q) throws java.sql.SQLException
query
in interface DBQuery
q
- Query interface via which the query will be executed.
java.sql.SQLException
- If a database access error occurs.public java.lang.Object next() throws java.sql.SQLException, ObjectIdException
next
in interface DBQuery
java.sql.SQLException
- If a database access error occurs.
ObjectIdException
- If ObjectId was not found.public void release()
release
in interface DBQuery
public boolean handleException(java.sql.SQLException e)
handleException
in interface DBQuery
public void validate() throws java.sql.SQLException
validate
in interface DBQuery
java.sql.SQLException
- If a database access error occurs.protected void finalize()
finalize
in class java.lang.Object
protected void logDebug(java.lang.String str)
str
- The data to log.protected void setReleaseConnection(boolean rc)
|
DODS 7.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |