Package net.sf.basedb.core.query
Interface SqlResultIterator
- All Superinterfaces:
AutoCloseable
,Iterator<SqlResult>
,QueryResult
,ResultIterator<SqlResult>
- All Known Implementing Classes:
DynamicResultIterator
,PlotServlet.CFResultIterator
Return the result of a
SqlQuery
as an iterator.- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
Methods inherited from interface net.sf.basedb.core.query.QueryResult
getTotalCount
Methods inherited from interface net.sf.basedb.core.query.ResultIterator
close, isClosed
-
Method Details
-
getIndex
Get the index number of a selected column. Use this method to find the index of a column and then use theSqlResult.getXxx(index)
methods to get the value of that column.- Parameters:
name
- The name of a selected column- Returns:
- The index number
- Throws:
SQLException
- If there is an error
-