Class IndexDocumentIfNotExists
java.lang.Object
io.fluxzero.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 BulkUpdate
BulkUpdate.Type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()Indicates the operation type:index,indexIfNotExists, ordelete.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BulkUpdate
getCollection, getId
-
Constructor Details
-
IndexDocumentIfNotExists
public IndexDocumentIfNotExists()
-
-
Method Details
-
getType
Description copied from interface:BulkUpdateIndicates the operation type:index,indexIfNotExists, ordelete.- Specified by:
getTypein interfaceBulkUpdate
-