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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.projectnessie.model.Content.TypecontentType()Content type names are assigned via the projectnessie project, see the project website.intpayload()Payload IDs are assigned via the projectnessie project, see the project website.org.projectnessie.nessie.relocated.protobuf.ByteStringtoStoreOnReferenceState(C content)CvalueFromStore(org.projectnessie.nessie.relocated.protobuf.ByteString onReferenceValue)
-
-
-
Method Detail
-
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)
-
-