Package org.projectnessie.model
Class CommitMeta
java.lang.Object
org.projectnessie.model.CommitMeta
- Direct Known Subclasses:
CommitMetaSer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classUsed to deserialize an instant to ISO-8601 format.static classUsed to serialize an instant to ISO-8601 format. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.projectnessie.model.ImmutableCommitMeta.Builderbuilder()static CommitMetafromMessage(String message) The author of a commit.abstract InstantOriginal commit time in UTC.abstract StringThe entity performing this commit/transaction.abstract InstantCommit time in UTC.abstract StringgetHash()Hash of this commit.abstract @NotBlank @NotBlank StringMessage describing this commit.Set of properties to help further identify this commit.Authorizer of this action.org.projectnessie.model.ImmutableCommitMeta.Builder
-
Constructor Details
-
CommitMeta
public CommitMeta()
-
-
Method Details
-
getHash
Hash of this commit.This is not known at creation time and is only valid when reading the log.
-
getCommitter
The entity performing this commit/transaction.This is the logged in user/account who performs this action. Populated on the server. Nessie will return an error if this is populated by the client side.
The committer should follow the git spec for names eg Committer Name <committer.name@example.com> but this is not enforced. See git-commit docs.
-
getAuthor
The author of a commit. This is the original committer. -
getAllAuthors
-
getSignedOffBy
Authorizer of this action.For example if the user who did the transaction is a service account this could be populated by the person who started the job.
-
getAllSignedOffBy
-
getMessage
Message describing this commit. Should conform to Git style.Like github if this message is in markdown it may be displayed cleanly in the UI.
-
getCommitTime
Commit time in UTC. Set by the server. -
getAuthorTime
Original commit time in UTC. Set by the server. -
getProperties
Set of properties to help further identify this commit.examples are spark id, the client type (eg iceberg, delta etc), application or job names, hostnames etc.
-
getAllProperties
-
getParentCommitHashes
-
toBuilder
public org.projectnessie.model.ImmutableCommitMeta.Builder toBuilder() -
builder
public static org.projectnessie.model.ImmutableCommitMeta.Builder builder() -
fromMessage
-