sqlj.runtime
Interface NamedIterator
- public abstract interface NamedIterator
- extends ResultSetIterator
An interface implemented by all iterators that employ a by-name
binding strategy. All such iterators depend on the name of the columns
of the data to which they are bound, as opposed to the order of the
columns to which they are bound.
In addition to implementing this interface, name-bound iterator
implementations will provide:
- A public constructor which takes an RTResultSet as a parameter.
If the construction of a named iterator results in an exception being
thrown, it is assumed that the iterator automatically closes the
underlying result set. This only applies to exceptions thrown during
construction.
- An accessor method for each column in the expected result. The name
of the accessor method will match the expected name of the result
column.