public class ODataUpdateExecution extends BaseQueryExecution implements UpdateExecution
connection, executionContext, metadata, translator
Constructor and Description |
---|
ODataUpdateExecution(Command command,
ODataExecutionFactory 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.
|
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
buildError, executeQuery, executeSkipToken, getDefaultHeaders, getName, invokeHTTP
public ODataUpdateExecution(Command command, ODataExecutionFactory translator, ExecutionContext executionContext, RuntimeMetadata metadata, WSConnection connection) throws TranslatorException
TranslatorException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public int[] getUpdateCounts() throws DataNotAvailableException, TranslatorException
UpdateExecution
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
TranslatorException
Copyright © 2020. All rights reserved.