public class CommitResponse extends Object
Constructor and Description |
---|
CommitResponse(com.google.cloud.Timestamp commitTimestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CommitStats |
getCommitStats()
Commit statistics are returned by a read/write transaction if specifically requested by passing
in
Options.commitStats() to the transaction. |
com.google.cloud.Timestamp |
getCommitTimestamp()
Returns a
Timestamp representing the commit time of the transaction. |
boolean |
hasCommitStats() |
int |
hashCode() |
public com.google.cloud.Timestamp getCommitTimestamp()
Timestamp
representing the commit time of the transaction.public boolean hasCommitStats()
CommitResponse
includes CommitStats
public CommitStats getCommitStats()
Options.commitStats()
to the transaction.Copyright © 2022 Google LLC. All rights reserved.