Interface ExecutableInsertOperation.InsertWithBulkMode<T>
- All Superinterfaces:
ExecutableInsertOperation.TerminatingBulkInsert<T>
,ExecutableInsertOperation.TerminatingInsert<T>
- All Known Subinterfaces:
ExecutableInsertOperation.ExecutableInsert<T>
- Enclosing interface:
- ExecutableInsertOperation
public static interface ExecutableInsertOperation.InsertWithBulkMode<T>
extends ExecutableInsertOperation.TerminatingInsert<T>
- Since:
- 2.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionwithBulkMode
(BulkOperations.BulkMode bulkMode) Define theBulkOperations.BulkMode
to use for bulk insert operation.Methods inherited from interface org.springframework.data.mongodb.core.ExecutableInsertOperation.TerminatingBulkInsert
bulk
Methods inherited from interface org.springframework.data.mongodb.core.ExecutableInsertOperation.TerminatingInsert
all, one
-
Method Details
-
withBulkMode
Define theBulkOperations.BulkMode
to use for bulk insert operation.- Parameters:
bulkMode
- must not be null.- Returns:
- new instance of
ExecutableInsertOperation.TerminatingBulkInsert
. - Throws:
IllegalArgumentException
- if bulkMode is null.
-