public class LoopbackExecution extends Object implements UpdateExecution, ProcedureExecution
| Modifier and Type | Field and Description |
|---|---|
static Date |
SQL_DATE_VAL |
static Time |
TIME_VAL |
static Timestamp |
TIMESTAMP_VAL |
| Constructor and Description |
|---|
LoopbackExecution(Command command,
LoopbackExecutionFactory config) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
List<?> |
getOutputParameterValues()
Get the output parameter values.
|
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
public static Date SQL_DATE_VAL
public static Time TIME_VAL
public static Timestamp TIMESTAMP_VAL
public LoopbackExecution(Command command, LoopbackExecutionFactory config)
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecutiongetOutputParameterValues in interface ProcedureExecutionTranslatorException - If an error occurs while retrieving the output valuepublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.