Class MergeConflictResult
- java.lang.Object
-
- com.linkedin.davinci.replication.merge.MergeConflictResult
-
public class MergeConflictResult extends java.lang.Object
An object to encapsulate the results of conflict resolution to denote how the operation and value that should be applied or if the current update should be ignored.
-
-
Constructor Summary
Constructors Constructor Description MergeConflictResult(java.nio.ByteBuffer newValue, int valueSchemaID, boolean resultReusesInput, org.apache.avro.generic.GenericRecord rmdRecord)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doesResultReuseInput()
static MergeConflictResult
getIgnoredResult()
java.nio.ByteBuffer
getNewValue()
org.apache.avro.generic.GenericRecord
getRmdRecord()
int
getValueSchemaId()
boolean
isUpdateIgnored()
-
-
-
Method Detail
-
getIgnoredResult
public static MergeConflictResult getIgnoredResult()
-
getValueSchemaId
public int getValueSchemaId()
-
getNewValue
public java.nio.ByteBuffer getNewValue()
-
isUpdateIgnored
public boolean isUpdateIgnored()
-
doesResultReuseInput
public boolean doesResultReuseInput()
-
getRmdRecord
public org.apache.avro.generic.GenericRecord getRmdRecord()
-
-