Class: Google::Cloud::Spanner::CommitResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::CommitResponse
- Defined in:
- lib/google/cloud/spanner/commit_response.rb,
lib/google/cloud/spanner/commit_response/commit_stats.rb
Overview
CommitResponse is a timestamp at which the transaction committed with additional attributes of commit stats.
Defined Under Namespace
Classes: CommitStats
Instance Method Summary collapse
-
#stats ⇒ CommitStats?
Additional statistics about a commit.
-
#timestamp ⇒ Time
The timestamp at which the transaction committed.
Instance Method Details
#stats ⇒ CommitStats?
Additional statistics about a commit.
73 74 75 |
# File 'lib/google/cloud/spanner/commit_response.rb', line 73 def stats CommitStats.from_grpc @grpc.commit_stats if @grpc.commit_stats end |
#timestamp ⇒ Time
The timestamp at which the transaction committed.
65 66 67 |
# File 'lib/google/cloud/spanner/commit_response.rb', line 65 def Convert. @grpc. end |