public class S3ProcedureExecution extends Object implements ProcedureExecution
| Constructor and Description |
|---|
S3ProcedureExecution(Call command,
S3ExecutionFactory ef,
RuntimeMetadata metadata,
ExecutionContext ec,
WSConnection conn) |
| 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.
|
protected BinaryWSProcedureExecution |
invokeHTTP(String method,
String uri,
Object payload,
Map<String,String> headers) |
List<?> |
next()
Retrieves the next row of the resultset.
|
public S3ProcedureExecution(Call command, S3ExecutionFactory ef, RuntimeMetadata metadata, ExecutionContext ec, WSConnection conn)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionprotected BinaryWSProcedureExecution invokeHTTP(String method, String uri, Object payload, Map<String,String> headers) throws TranslatorException
TranslatorExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecutiongetOutputParameterValues in interface ProcedureExecutionTranslatorException - If an error occurs while retrieving the output valueCopyright © 2019. All rights reserved.