Class IcebergViewSerializer

  • All Implemented Interfaces:
    org.projectnessie.versioned.store.ContentSerializer<org.projectnessie.model.IcebergView>, org.projectnessie.versioned.store.LegacyContentSerializer<org.projectnessie.model.IcebergView>

    public final class IcebergViewSerializer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.projectnessie.model.Content.Type contentType()  
      int payload()  
      boolean requiresGlobalState​(org.projectnessie.nessie.relocated.protobuf.ByteString content)  
      org.projectnessie.nessie.relocated.protobuf.ByteString toStoreOnReferenceState​(C content)  
      protected void toStoreOnRefState​(org.projectnessie.model.IcebergView view, org.projectnessie.server.store.proto.ObjectTypes.Content.Builder builder)  
      C valueFromStore​(int payload, org.projectnessie.nessie.relocated.protobuf.ByteString onReferenceValue, java.util.function.Supplier<org.projectnessie.nessie.relocated.protobuf.ByteString> globalState)  
      protected org.projectnessie.model.IcebergView valueFromStore​(org.projectnessie.server.store.proto.ObjectTypes.Content content, java.util.function.Supplier<org.projectnessie.nessie.relocated.protobuf.ByteString> globalState)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.projectnessie.versioned.store.LegacyContentSerializer

        getType, valueFromStore
    • Constructor Detail

      • IcebergViewSerializer

        public IcebergViewSerializer()
    • Method Detail

      • contentType

        public org.projectnessie.model.Content.Type contentType()
      • payload

        public int payload()
      • toStoreOnRefState

        protected void toStoreOnRefState​(org.projectnessie.model.IcebergView view,
                                         org.projectnessie.server.store.proto.ObjectTypes.Content.Builder builder)
      • requiresGlobalState

        public boolean requiresGlobalState​(org.projectnessie.nessie.relocated.protobuf.ByteString content)
      • valueFromStore

        protected org.projectnessie.model.IcebergView valueFromStore​(org.projectnessie.server.store.proto.ObjectTypes.Content content,
                                                                     java.util.function.Supplier<org.projectnessie.nessie.relocated.protobuf.ByteString> globalState)
      • toStoreOnReferenceState

        public org.projectnessie.nessie.relocated.protobuf.ByteString toStoreOnReferenceState​(C content)
        Specified by:
        toStoreOnReferenceState in interface org.projectnessie.versioned.store.ContentSerializer<C extends org.projectnessie.model.Content>
      • valueFromStore

        public C valueFromStore​(int payload,
                                org.projectnessie.nessie.relocated.protobuf.ByteString onReferenceValue,
                                java.util.function.Supplier<org.projectnessie.nessie.relocated.protobuf.ByteString> globalState)
        Specified by:
        valueFromStore in interface org.projectnessie.versioned.store.LegacyContentSerializer<C extends org.projectnessie.model.Content>