java.lang.Object
java.lang.Enum<IncrementalStoreOperand>
org.apache.jackrabbit.oak.index.indexer.document.incrementalstore.IncrementalStoreOperand
All Implemented Interfaces:
Serializable, Comparable<IncrementalStoreOperand>

public enum IncrementalStoreOperand extends Enum<IncrementalStoreOperand>
The operation to perform. Operations are generated by either running a 'diff' , or by 'top up' which is downloading the changes from MongoDB. When using the 'diff' command, we expect that the node doesn't exist yet for the 'add' case, and that the node exists for the 'delete' and 'modify' case (due to the nature of the 'diff'). The operations are then ADD, DELETE, MODIFY. When using the 'top up', we don't know whether the node existed before or not; we only get the updated state. That's why we use different operations: REMOVE_IF_EXISTS and INSERT_OR_UPDATE.