|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.mungoknotwise.sqlcli.SelectCommand
Performs a select command and handles the results.
| Constructor Summary | |
SelectCommand()
Constructs a new instance of SelectCommand. |
|
| Method Summary | |
void |
execute()
Executes this command. Results are handled by the configured result set extractor. |
void |
setCommand(java.lang.String command)
Sets the SQL select command for this command to execute. |
void |
setConnection(java.sql.Connection connection)
Sets the connection for this command. |
void |
setExceptionHandler(ExceptionHandler exceptionHandler)
Sets the exception handler for this command. |
void |
setResultSetExtractor(ResultSetExtractor resultSetExtractor)
Sets the result set extractor for this command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SelectCommand()
SelectCommand.
| Method Detail |
public void execute()
result set extractor.
execute in interface ResultSetExtractingCommandpublic void setCommand(java.lang.String command)
command - the commandpublic void setConnection(java.sql.Connection connection)
connection - the connectionpublic void setExceptionHandler(ExceptionHandler exceptionHandler)
setExceptionHandler in interface ResultSetExtractingCommandexceptionHandler - the exception handlerpublic void setResultSetExtractor(ResultSetExtractor resultSetExtractor)
setResultSetExtractor in interface ResultSetExtractingCommandresultSetExtractor - the result set extractor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||