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 com.google.protobuf.ByteStringgetGlobalState()Global state for a content key.bytegetPayload()com.google.protobuf.ByteStringgetRefState()Per-named-reference state for a content key.static ContentAndStateof(byte payload, com.google.protobuf.ByteString refState)static ContentAndStateof(byte payload, com.google.protobuf.ByteString refState, com.google.protobuf.ByteString globalState)
-
-
-
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)
-
-