Interface BulkUpdate

All Known Implementing Classes:
DeleteDocument, IndexDocument, IndexDocumentIfNotExists

public interface BulkUpdate
Represents a single operation in a bulk document update.

Bulk updates are used to efficiently apply multiple indexing or deletion operations to a document store in a single request. Implementations include:

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Supported bulk operation types.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Object
    The name of the collection to which this document belongs.
    @NonNull String
    The unique identifier of the document within the collection.
    Indicates the operation type: index, indexIfNotExists, or delete.
  • Method Details

    • getId

      @NonNull @NonNull String getId()
      The unique identifier of the document within the collection.
    • getCollection

      @NonNull @NonNull Object getCollection()
      The name of the collection to which this document belongs.
    • getType

      BulkUpdate.Type getType()
      Indicates the operation type: index, indexIfNotExists, or delete.