Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
google::cloud::spanner::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
 
 operator Options () const
 Convert the ClientOptions to the new, recommended way to represent options of all varieties, google::cloud::Options. More...
 
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.

Constructor & Destructor Documentation

◆ ClientOptions() [1/3]

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

◆ ClientOptions() [2/3]

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

◆ ClientOptions() [3/3]

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

Member Function Documentation

◆ operator Options()

google::cloud::spanner::ClientOptions::operator Options ( ) const
inlineexplicit

Convert the ClientOptions to the new, recommended way to represent options of all varieties, google::cloud::Options.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ query_options()

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

Returns the QueryOptions

◆ set_query_options()

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

Sets the QueryOptions

Friends And Related Function Documentation

◆ operator!=

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

◆ operator==

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