Interface ContentAndState


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

      • getPayload

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

        @Nonnull
        @Nonnull
        @Parameter(order=2)
        com.google.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)
        com.google.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
                                  com.google.protobuf.ByteString refState,
                                  @Nullable @Nullable
                                  com.google.protobuf.ByteString globalState)
      • of

        @Nonnull
        @Nonnull
        static ContentAndState of​(byte payload,
                                  @Nonnull @Nonnull
                                  com.google.protobuf.ByteString refState)