Interface Serializer<V>

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    CommitMetaSerializer

    public interface Serializer<V>
    extends java.io.Serializable
    Used to serialize & deserialize the values in the store. Provided to an implementation of VersionStore on construction.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V fromBytes​(org.projectnessie.nessie.relocated.protobuf.ByteString bytes)  
      org.projectnessie.nessie.relocated.protobuf.ByteString toBytes​(V value)  
    • Method Detail

      • toBytes

        org.projectnessie.nessie.relocated.protobuf.ByteString toBytes​(V value)
      • fromBytes

        V fromBytes​(org.projectnessie.nessie.relocated.protobuf.ByteString bytes)