public class SwaggerProcedureExecution extends BaseQueryExecution implements ProcedureExecution
connection, executionContext, metadata, translator
Constructor and Description |
---|
SwaggerProcedureExecution(Call command,
ExecutionFactory 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
public SwaggerProcedureExecution(Call command, ExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection) throws TranslatorException
TranslatorException
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public static SwaggerSerializer getSerializer(String contentType)
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecution
getOutputParameterValues
in interface ProcedureExecution
TranslatorException
- If an error occurs while retrieving the output valuepublic void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
Copyright © 2019. All rights reserved.