|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CloseableIterator<T>
Extension to Iterator to provide a close() method. This should be in the JDK.
NOTE: You must call close()
method when you are done otherwise the underlying SQL
statement and connection may be kept open.
Method Summary | |
---|---|
void |
close()
Close any underlying SQL statements. |
DatabaseResults |
getRawResults()
Return the underlying database results object if any. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
void close() throws SQLException
SQLException
DatabaseResults getRawResults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |