Class DiffableUtils.NonDiffableValueSerializer<K,​V>

java.lang.Object
org.elasticsearch.cluster.DiffableUtils.NonDiffableValueSerializer<K,​V>
Type Parameters:
K - type of map keys
V - type of map values
All Implemented Interfaces:
DiffableUtils.ValueSerializer<K,​V>
Direct Known Subclasses:
DiffableUtils.StringSetValueSerializer
Enclosing class:
DiffableUtils

public abstract static class DiffableUtils.NonDiffableValueSerializer<K,​V>
extends java.lang.Object
implements DiffableUtils.ValueSerializer<K,​V>
Serializer for non-diffable map values
  • Constructor Summary

    Constructors
    Constructor Description
    NonDiffableValueSerializer()  
  • Method Summary

    Modifier and Type Method 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.cluster.DiffableUtils.ValueSerializer

    read, supportsVersion, supportsVersion, write