Class AbstractDiffable<T extends Diffable<T>>

    • Method Summary

      Modifier and Type Method Description
      Diff<T> diff​(T previousState)
      Returns serializable object representing differences between this and previousState
      T get()  
      static <T extends Diffable<T>>
      Diff<T>
      readDiffFrom​(Writeable.Reader<T> reader, StreamInput in)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.elasticsearch.common.io.stream.Writeable

        writeTo
    • Constructor Detail

      • AbstractDiffable

        public AbstractDiffable()
    • Method Detail

      • diff

        public Diff<T> diff​(T previousState)
        Description copied from interface: Diffable
        Returns serializable object representing differences between this and previousState
        Specified by:
        diff in interface Diffable<T extends Diffable<T>>
      • get

        public T get()