Package rife.database
Class DbResultSetHandler
java.lang.Object
rife.database.DbResultSetHandler
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DbPreparedStatementHandler
By extending this class it's possible to easily customize the behaviour of
some methods in the
DbQueryManager class.
You're able to perform custom logic with the result set of a query by
overriding the concludeResults method
and returning an object.
You're not supposed to close the resultset in this method.
- Since:
- 1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Simply clones the instance with the default clone method since this class contains no member variables.concludeResults(DbResultSet resultset) createStatement(DbConnection connection) getPreparedStatement(Query query, DbConnection connection)
-
Constructor Details
-
DbResultSetHandler
public DbResultSetHandler()
-
-
Method Details
-
createStatement
-
getPreparedStatement
-
concludeResults
- Throws:
SQLException
-
clone
Simply clones the instance with the default clone method since this class contains no member variables.
-