Interface CommitParams
-
- All Superinterfaces:
ToBranchParams
@Immutable public interface CommitParams extends ToBranchParams
API helper method to encapsulate parameters forDatabaseAdapter.commit(CommitParams).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.projectnessie.versioned.persist.adapter.ToBranchParams
ToBranchParams.Builder<B>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<org.projectnessie.versioned.ContentAttachment>getAttachments()The content attachments for the put operations.com.google.protobuf.ByteStringgetCommitMetaSerialized()Serialized commit-metadata.java.util.List<org.projectnessie.versioned.Key>getDeletes()List of "unchanged" keys, fromDeletecommit operations.java.util.Map<ContentId,java.util.Optional<com.google.protobuf.ByteString>>getExpectedStates()Mapping of content-ids to expected global content-state (think: Iceberg table-metadata), coming from the "expected-state" property of aPutGlobalcommit operation.java.util.List<KeyWithBytes>getPuts()List of allPutoperations, with their keys, content-types and serializedContent.java.util.List<org.projectnessie.versioned.Key>getUnchanged()List of "unchanged" keys, fromUnchangedcommit operations.java.util.concurrent.Callable<java.lang.Void>getValidator()-
Methods inherited from interface org.projectnessie.versioned.persist.adapter.ToBranchParams
getExpectedHead, getToBranch
-
-
-
-
Method Detail
-
getExpectedStates
java.util.Map<ContentId,java.util.Optional<com.google.protobuf.ByteString>> getExpectedStates()
Mapping of content-ids to expected global content-state (think: Iceberg table-metadata), coming from the "expected-state" property of aPutGlobalcommit operation.
-
getPuts
java.util.List<KeyWithBytes> getPuts()
List of allPutoperations, with their keys, content-types and serializedContent.
-
getAttachments
java.util.List<org.projectnessie.versioned.ContentAttachment> getAttachments()
The content attachments for the put operations.
-
getUnchanged
java.util.List<org.projectnessie.versioned.Key> getUnchanged()
List of "unchanged" keys, fromUnchangedcommit operations.
-
getDeletes
java.util.List<org.projectnessie.versioned.Key> getDeletes()
List of "unchanged" keys, fromDeletecommit operations.
-
getCommitMetaSerialized
com.google.protobuf.ByteString getCommitMetaSerialized()
Serialized commit-metadata.
-
getValidator
@Nullable @Nullable java.util.concurrent.Callable<java.lang.Void> getValidator()
-
-