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:
IndexDocument
– to add or replace a documentIndexDocumentIfNotExists
– to add a document only if it doesn't existDeleteDocument
– to remove a document by ID and collection
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getId
The unique identifier of the document within the collection. -
getCollection
The name of the collection to which this document belongs. -
getType
BulkUpdate.Type getType()Indicates the operation type:index
,indexIfNotExists
, ordelete
.
-