Google Cloud Spanner C++ Client
1.32.0
A C++ Client Library for Google Cloud Spanner
|
Set options on calls to spanner::Client::Commit()
.
More...
#include <google/cloud/spanner/commit_options.h>
Public Member Functions | |
CommitOptions ()=default | |
Default options: no stats. More... | |
CommitOptions & | set_return_stats (bool return_stats) |
Set whether the CommitResult should contain CommitStats . More... | |
bool | return_stats () const |
Whether the CommitResult should contain CommitStats . More... | |
CommitOptions & | set_request_priority (absl::optional< RequestPriority > request_priority) |
Set the priority of the spanner::Client::Commit() call. More... | |
absl::optional< RequestPriority > | request_priority () const |
The priority of the spanner::Client::Commit() call. More... | |
CommitOptions & | set_transaction_tag (absl::optional< std::string > transaction_tag) |
Set the transaction tag for the spanner::Client::Commit() call. More... | |
absl::optional< std::string > const & | transaction_tag () const |
The transaction tag for the spanner::Client::Commit() call. More... | |
Set options on calls to spanner::Client::Commit()
.
Definition at line 34 of file commit_options.h.
|
default |
Default options: no stats.
|
inline |
The priority of the spanner::Client::Commit()
call.
Definition at line 56 of file commit_options.h.
|
inline |
Whether the CommitResult
should contain CommitStats
.
Definition at line 46 of file commit_options.h.
|
inline |
Set the priority of the spanner::Client::Commit()
call.
Definition at line 49 of file commit_options.h.
|
inline |
Set whether the CommitResult
should contain CommitStats
.
Definition at line 40 of file commit_options.h.
|
inline |
Set the transaction tag for the spanner::Client::Commit()
call.
Ignored for the overload that already takes a spanner::Transaction
.
Definition at line 64 of file commit_options.h.
|
inline |
The transaction tag for the spanner::Client::Commit()
call.
Definition at line 71 of file commit_options.h.