Interface ContentSerializer<C extends org.projectnessie.model.Content>

All Known Subinterfaces:
LegacyContentSerializer<C>

public interface ContentSerializer<C extends org.projectnessie.model.Content>
Content serializers provide persistence layer (de)serialization functionality for a specific content type.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.projectnessie.model.Content.Type
    Content type names are assigned via the projectnessie project, see the project website.
    int
    Payload IDs are assigned via the projectnessie project, see the project website.
    org.projectnessie.nessie.relocated.protobuf.ByteString
     
    valueFromStore(org.projectnessie.nessie.relocated.protobuf.ByteString onReferenceValue)
     
  • Method Details

    • contentType

      org.projectnessie.model.Content.Type contentType()
      Content type names are assigned via the projectnessie project, see the project website.
    • payload

      int payload()
      Payload IDs are assigned via the projectnessie project, see the project website.
    • toStoreOnReferenceState

      org.projectnessie.nessie.relocated.protobuf.ByteString toStoreOnReferenceState(C content)
    • valueFromStore

      C valueFromStore(org.projectnessie.nessie.relocated.protobuf.ByteString onReferenceValue)