Google Cloud Spanner C++ Client  1.32.1
A C++ Client Library for Google Cloud Spanner
Public Member Functions | Friends | List of all members
google::cloud::spanner::v1::ClientOptions Class Reference

ClientOptions allows the caller to set a variety of options when constructing a Client instance. More...

#include <google/cloud/spanner/client_options.h>

Public Member Functions

 ClientOptions ()=default
 
 ClientOptions (ClientOptions const &)=default
 
ClientOptionsoperator= (ClientOptions const &)=default
 
 ClientOptions (ClientOptions &&)=default
 
ClientOptionsoperator= (ClientOptions &&)=default
 
QueryOptions const & query_options () const
 Returns the QueryOptions More...
 
ClientOptionsset_query_options (QueryOptions qo)
 Sets the QueryOptions More...
 

Friends

bool operator== (ClientOptions const &a, ClientOptions const &b)
 
bool operator!= (ClientOptions const &a, ClientOptions const &b)
 

Detailed Description

ClientOptions allows the caller to set a variety of options when constructing a Client instance.

Definition at line 30 of file client_options.h.

Constructor & Destructor Documentation

◆ ClientOptions() [1/3]

google::cloud::spanner::v1::ClientOptions::ClientOptions ( )
default

◆ ClientOptions() [2/3]

google::cloud::spanner::v1::ClientOptions::ClientOptions ( ClientOptions const &  )
default

◆ ClientOptions() [3/3]

google::cloud::spanner::v1::ClientOptions::ClientOptions ( ClientOptions &&  )
default

Member Function Documentation

◆ operator=() [1/2]

ClientOptions& google::cloud::spanner::v1::ClientOptions::operator= ( ClientOptions &&  )
default

◆ operator=() [2/2]

ClientOptions& google::cloud::spanner::v1::ClientOptions::operator= ( ClientOptions const &  )
default

◆ query_options()

QueryOptions const& google::cloud::spanner::v1::ClientOptions::query_options ( ) const
inline

Returns the QueryOptions

Definition at line 39 of file client_options.h.

◆ set_query_options()

ClientOptions& google::cloud::spanner::v1::ClientOptions::set_query_options ( QueryOptions  qo)
inline

Sets the QueryOptions

Definition at line 42 of file client_options.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( ClientOptions const &  a,
ClientOptions const &  b 
)
friend

Definition at line 51 of file client_options.h.

◆ operator==

bool operator== ( ClientOptions const &  a,
ClientOptions const &  b 
)
friend

Definition at line 47 of file client_options.h.