public class MongoDBUpdateExecution extends MongoDBBaseExecution implements UpdateExecution
connection, executionContext, metadata, mongoDB| Constructor and Description |
|---|
MongoDBUpdateExecution(MongoDBExecutionFactory executionFactory,
Command command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
MongoDBConnection 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.
|
public MongoDBUpdateExecution(MongoDBExecutionFactory executionFactory, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, MongoDBConnection connection) throws TranslatorException
TranslatorExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionCopyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.