Interface ContentAndState


  • @Immutable
    public interface ContentAndState
    Composite for the per-named-reference and global state for a content key.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.projectnessie.nessie.relocated.protobuf.ByteString getGlobalState()
      Global state for a content key.
      byte getPayload()  
      org.projectnessie.nessie.relocated.protobuf.ByteString getRefState()
      Per-named-reference state for a content key.
      static ContentAndState of​(byte payload, org.projectnessie.nessie.relocated.protobuf.ByteString refState)  
      static ContentAndState of​(byte payload, org.projectnessie.nessie.relocated.protobuf.ByteString refState, org.projectnessie.nessie.relocated.protobuf.ByteString globalState)  
    • Method Detail

      • getPayload

        @Parameter(order=1)
        byte getPayload()
      • getRefState

        @Nonnull
        @Nonnull
        @Parameter(order=2)
        org.projectnessie.nessie.relocated.protobuf.ByteString getRefState()
        Per-named-reference state for a content key. For example, Iceberg's snapshot-ID, schema-ID, partition-spec-ID, default-sort-order-ID.
      • getGlobalState

        @Nullable
        @Nullable
        @Parameter(order=3)
        org.projectnessie.nessie.relocated.protobuf.ByteString getGlobalState()
        Global state for a content key. For example, the pointer to Iceberg's table-metadata.
      • of

        @Nonnull
        @Nonnull
        static ContentAndState of​(byte payload,
                                  @Nonnull @Nonnull
                                  org.projectnessie.nessie.relocated.protobuf.ByteString refState,
                                  @Nullable @Nullable
                                  org.projectnessie.nessie.relocated.protobuf.ByteString globalState)
      • of

        @Nonnull
        @Nonnull
        static ContentAndState of​(byte payload,
                                  @Nonnull @Nonnull
                                  org.projectnessie.nessie.relocated.protobuf.ByteString refState)