org.oddjob.sql
Interface ResultSetExtractor


public interface ResultSetExtractor

Implementations provide varied methodologies to extract data from a result set.

All indexes are one based, as with result set.

This abstraction mixes meta data and data and so is probably not the best design but it provides enough flexibility for the purposes of SQLJob.

Author:
rob

Method Summary
 Object getColumn(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 Class<?> getColumnType(int columnIndex)
           
 boolean next()
           
 

Method Detail

getColumnType

Class<?> getColumnType(int columnIndex)

getColumn

Object getColumn(int columnIndex)
                 throws SQLException
Throws:
SQLException

getColumnName

String getColumnName(int columnIndex)

getColumnCount

int getColumnCount()

next

boolean next()
             throws SQLException
Throws:
SQLException