K
- type of map keysV
- type of map valuespublic abstract static class DiffableUtils.NonDiffableValueSerializer<K,V> extends java.lang.Object implements DiffableUtils.ValueSerializer<K,V>
Constructor and Description |
---|
NonDiffableValueSerializer() |
Modifier and Type | Method and Description |
---|---|
Diff<V> |
diff(V value,
V beforePart)
Computes diff if this serializer supports diffable values
|
Diff<V> |
readDiff(StreamInput in,
K key)
Reads value as diff from stream if this serializer supports diffable values.
|
boolean |
supportsDiffableValues()
Whether this serializer supports diffable values
|
void |
writeDiff(Diff<V> value,
StreamOutput out)
Writes value as diff to stream if this serializer supports diffable values
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, supportsVersion, supportsVersion, write
public boolean supportsDiffableValues()
DiffableUtils.ValueSerializer
supportsDiffableValues
in interface DiffableUtils.ValueSerializer<K,V>
public Diff<V> diff(V value, V beforePart)
DiffableUtils.ValueSerializer
diff
in interface DiffableUtils.ValueSerializer<K,V>
public void writeDiff(Diff<V> value, StreamOutput out) throws java.io.IOException
DiffableUtils.ValueSerializer
writeDiff
in interface DiffableUtils.ValueSerializer<K,V>
java.io.IOException
public Diff<V> readDiff(StreamInput in, K key) throws java.io.IOException
DiffableUtils.ValueSerializer
readDiff
in interface DiffableUtils.ValueSerializer<K,V>
java.io.IOException