Interface BulkOperation.Update

All Superinterfaces:
BulkOperation
All Known Subinterfaces:
BulkOperation.UpdateFirst
Enclosing interface:
BulkOperation

public static interface BulkOperation.Update extends BulkOperation
Update operation: update documents matching the query().
Since:
5.1
Author:
Christoph Strobl
  • Method Details

    • update

      Returns the update definition to apply.
      Returns:
      the update.
    • query

      Query query()
      Returns the query that selects which documents to update.
      Returns:
      the query.
    • upsert

      boolean upsert()
      Returns whether to perform an upsert if no document matches.
      Returns:
      true for upsert.