|
||||||||||
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.PrintStreamedDescribeResultSetExtractor
An implementation of the ResultSetExtractor
that writes the results
of a describe command to the provided print streams.
Constructor Summary | |
PrintStreamedDescribeResultSetExtractor()
Constructs a new instance of PrintStreamedDescribeResultSetExtractor . |
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. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Sets the attribute value with the specified key. |
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 |
Constructor Detail |
public PrintStreamedDescribeResultSetExtractor()
PrintStreamedDescribeResultSetExtractor
.
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 occurspublic void setAttribute(java.lang.String key, java.lang.Object value)
setAttribute
in interface ResultSetExtractor
key
- the attribute keyvalue
- the attribute value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |