com.mungoknotwise.sqlcli
Interface ResultSetExtractingCommand

All Superinterfaces:
Command
All Known Implementing Classes:
DescribeCommand, SelectCommand, ShowTablesCommand

public interface ResultSetExtractingCommand
extends Command

Defines operations for a command that handles the result set with a configurable extractor.

Version:
$Id: ResultSetExtractingCommand.java,v 1.1 2004/07/28 23:21:26 mungoknotwise Exp $
Author:
Steven Caswell

Method Summary
 void execute()
          Executes 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.
 

Method Detail

execute

public void execute()
Executes this command. Results are handled by the configured result set extractor.

Specified by:
execute in interface Command

setExceptionHandler

public void setExceptionHandler(ExceptionHandler exceptionHandler)
Sets the exception handler for this command.

Parameters:
exceptionHandler - the exception handler

setResultSetExtractor

public void setResultSetExtractor(ResultSetExtractor resultSetExtractor)
Sets the result set extractor for this command.

Parameters:
resultSetExtractor - the result set extractor


Copyright © 2004 Steven Caswell. All Rights Reserved.