public class SwaggerProcedureExecution extends BaseQueryExecution implements ProcedureExecution
connection, executionContext, metadata, translator| Constructor and Description |
|---|
SwaggerProcedureExecution(Call command,
SwaggerExecutionFactory translator,
ExecutionContext executionContext,
RuntimeMetadata metadata,
WSConnection connection) |
| 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.
|
static SwaggerSerializer |
getSerializer(String contentType) |
List<?> |
next()
Retrieves the next row of the resultset.
|
buildInvokeHTTP, getNamepublic SwaggerProcedureExecution(Call command, SwaggerExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection) throws TranslatorException
TranslatorExceptionpublic void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic static SwaggerSerializer getSerializer(String contentType)
public 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 valuepublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.