|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.storage.rdbms.TableRowIterator
public class TableRowIterator
Represents the results of a database query
| Method Summary | |
|---|---|
void |
close()
Close the Iterator and release any associated resources |
protected void |
finalize()
Finalize -- this method is called when this object is GC-ed. |
boolean |
hasNext()
Return true if there are more rows, false otherwise |
TableRow |
next()
Advance to the next row and return it. |
void |
setStatement(Statement st)
setStatement -- this method saves the statement used to do the query. |
List<TableRow> |
toList()
Saves all the values returned by iterator into a list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic void setStatement(Statement st)
st - -
The statement used to do the query that created this
TableRowIterator
public TableRow next()
throws SQLException
SQLException - -
If a database error occurs while fetching values
public boolean hasNext()
throws SQLException
SQLException - -
If a database error occurs while fetching values
public List<TableRow> toList()
throws SQLException
SQLException - -
If a database error occurs while fetching valuespublic void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||