Class IndexDocumentIfNotExists
java.lang.Object
io.fluxcapacitor.common.api.search.bulkupdate.IndexDocumentIfNotExists
- All Implemented Interfaces:
BulkUpdate
A bulk update operation that indexes a document only if it does not already exist in the store.
Useful to ensure immutability or to avoid overwriting existing entries.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluxcapacitor.common.api.search.BulkUpdate
BulkUpdate.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Indicates the operation type:index
,indexIfNotExists
, ordelete
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluxcapacitor.common.api.search.BulkUpdate
getCollection, getId
-
Constructor Details
-
IndexDocumentIfNotExists
public IndexDocumentIfNotExists()
-
-
Method Details
-
getType
Description copied from interface:BulkUpdate
Indicates the operation type:index
,indexIfNotExists
, ordelete
.- Specified by:
getType
in interfaceBulkUpdate
-