Class OAutoMergeRecordConflictStrategy
java.lang.Object
com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy
com.orientechnologies.orient.core.conflict.OAutoMergeRecordConflictStrategy
- All Implemented Interfaces:
ORecordConflictStrategy
Auto merges new record with the existent. Collections are also merged, item by item.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy
checkVersions
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
OAutoMergeRecordConflictStrategy
public OAutoMergeRecordConflictStrategy()
-
-
Method Details
-
onUpdate
public byte[] onUpdate(OStorage storage, byte iRecordType, ORecordId rid, int iRecordVersion, byte[] iRecordContent, AtomicInteger iDatabaseVersion) - Specified by:
onUpdatein interfaceORecordConflictStrategy- Overrides:
onUpdatein classOVersionRecordConflictStrategy
-
getName
- Specified by:
getNamein interfaceORecordConflictStrategy- Overrides:
getNamein classOVersionRecordConflictStrategy
-