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, waitread, supportsVersion, supportsVersion, writepublic boolean supportsDiffableValues()
DiffableUtils.ValueSerializersupportsDiffableValues in interface DiffableUtils.ValueSerializer<K,V>public Diff<V> diff(V value, V beforePart)
DiffableUtils.ValueSerializerdiff in interface DiffableUtils.ValueSerializer<K,V>public void writeDiff(Diff<V> value, StreamOutput out) throws java.io.IOException
DiffableUtils.ValueSerializerwriteDiff in interface DiffableUtils.ValueSerializer<K,V>java.io.IOExceptionpublic Diff<V> readDiff(StreamInput in, K key) throws java.io.IOException
DiffableUtils.ValueSerializerreadDiff in interface DiffableUtils.ValueSerializer<K,V>java.io.IOException