Interface SqlResultIterator

All Superinterfaces:
AutoCloseable, Iterator<SqlResult>, QueryResult, ResultIterator<SqlResult>
All Known Implementing Classes:
DynamicResultIterator, PlotServlet.CFResultIterator

public interface SqlResultIterator
extends ResultIterator<SqlResult>
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 Details

    • getIndex

      int getIndex​(String name) throws SQLException
      Get the index number of a selected column. Use this method to find the index of a column and then use the SqlResult.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