Package com.mongodb.operation
Interface WriteOperation<T>
-
- Type Parameters:
T
- the operations result type.
- All Known Implementing Classes:
AbortTransactionOperation
,AggregateToCollectionOperation
,BaseFindAndModifyOperation
,BaseWriteOperation
,CommandWriteOperation
,CommitTransactionOperation
,CreateCollectionOperation
,CreateIndexesOperation
,CreateUserOperation
,CreateViewOperation
,DeleteOperation
,DropCollectionOperation
,DropDatabaseOperation
,DropIndexOperation
,DropUserOperation
,FindAndDeleteOperation
,FindAndReplaceOperation
,FindAndUpdateOperation
,FsyncUnlockOperation
,InsertOperation
,MapReduceToCollectionOperation
,MixedBulkWriteOperation
,RenameCollectionOperation
,TransactionOperation
,UpdateOperation
,UpdateUserOperation
public interface WriteOperation<T>
An operation which writes to a MongoDB server.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
execute(WriteBinding binding)
General execute which can return anything of type T
-
-
-
Method Detail
-
execute
T execute(WriteBinding binding)
General execute which can return anything of type T- Parameters:
binding
- the binding to execute in the context of- Returns:
- T, the result of the execution
-
-