|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mungoknotwise.sqlcli.BasicPrintStreamed | +--com.mungoknotwise.sqlcli.PrintStreamedResultSetExtractor
Implementation of ResultSetExtractor
that writes the result set to
the object's print streams.
Constructor Summary | |
PrintStreamedResultSetExtractor()
Constructs a new instance of PrintStreamedResultSetExtractor . |
Method Summary | |
java.lang.Object |
extractData(java.sql.ResultSet resultSet)
Extracts data from the result set. Implementing classes are expected to step through each row of the result set and handle the rows as desired. |
Methods inherited from class com.mungoknotwise.sqlcli.BasicPrintStreamed |
addPrintStream, print, println, removePrintStream, streamIterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.mungoknotwise.sqlcli.ResultSetExtractor |
setAttribute |
Constructor Detail |
public PrintStreamedResultSetExtractor()
PrintStreamedResultSetExtractor
.
Method Detail |
public java.lang.Object extractData(java.sql.ResultSet resultSet) throws java.sql.SQLException
extractData
in interface ResultSetExtractor
resultSet
- the result set
java.sql.SQLException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |