Interface ContentAndState
-
@Immutable public interface ContentAndStateComposite 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.ByteStringgetGlobalState()Global state for a content key.bytegetPayload()org.projectnessie.nessie.relocated.protobuf.ByteStringgetRefState()Per-named-reference state for a content key.static ContentAndStateof(byte payload, org.projectnessie.nessie.relocated.protobuf.ByteString refState)static ContentAndStateof(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)
-
-