public class IndividualChange<T extends java.io.Serializable> extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<IndividualChange<T>>
Constructor and Description |
---|
IndividualChange(BlueKey key,
T oldValue,
T newValue) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IndividualChange<T> otherChange) |
static <T extends java.io.Serializable> |
createDeleteChange(BlueKey key) |
static <T extends java.io.Serializable> |
createInsertChange(BlueKey key,
T value) |
long |
getGroupingNumber() |
BlueKey |
getKey() |
BlueEntity<T> |
getNewEntity() |
T |
getNewValue() |
T |
getOldValue() |
boolean |
overlaps(Range range) |
public static <T extends java.io.Serializable> IndividualChange<T> createInsertChange(BlueKey key, T value)
public static <T extends java.io.Serializable> IndividualChange<T> createDeleteChange(BlueKey key)
public BlueKey getKey()
public T getOldValue()
public T getNewValue()
public BlueEntity<T> getNewEntity()
public long getGroupingNumber()
public boolean overlaps(Range range)
public int compareTo(IndividualChange<T> otherChange)
compareTo
in interface java.lang.Comparable<IndividualChange<T extends java.io.Serializable>>