Interface BulkOperation.Replace
- All Superinterfaces:
BulkOperation
- Enclosing interface:
BulkOperation
Replace operation: replace the document matching the
query() with the replacement() document.- Since:
- 5.1
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from interface BulkOperation
BulkOperation.Insert, BulkOperation.Remove, BulkOperation.RemoveFirst, BulkOperation.Replace, BulkOperation.Update, BulkOperation.UpdateFirst -
Method Summary
Methods inherited from interface BulkOperation
context
-
Method Details
-
query
-
replacement
-
upsert
boolean upsert()Returns whether to perform an upsert if no document matches.- Returns:
- true for upsert.
-