Interface DiffableUtils.ValueSerializer<K,​V>

    • Method Detail

      • supportsDiffableValues

        boolean supportsDiffableValues()
        Whether this serializer supports diffable values
      • supportsVersion

        default boolean supportsVersion​(Diff<V> value,
                                        Version version)
        Whether this serializer supports the version of the output stream
      • supportsVersion

        default boolean supportsVersion​(V value,
                                        Version version)
        Whether this serializer supports the version of the output stream
      • diff

        Diff<V> diff​(V value,
                     V beforePart)
        Computes diff if this serializer supports diffable values
      • readDiff

        Diff<V> readDiff​(StreamInput in,
                         K key)
                  throws IOException
        Reads value as diff from stream if this serializer supports diffable values. Reading operation can be made dependent on map key.
        Throws:
        IOException