15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_QUERY_OPTIONS_H 16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_QUERY_OPTIONS_H 41 return optimizer_version_;
50 optimizer_version_ = std::move(
version);
55 return a.optimizer_version_ == b.optimizer_version_;
63 optional<std::string> optimizer_version_;
71 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_QUERY_OPTIONS_H optional< std::string > const & optimizer_version() const
Returns the optimizer version.
friend bool operator!=(QueryOptions const &a, QueryOptions const &b)
friend bool operator==(QueryOptions const &a, QueryOptions const &b)
Contains all the Cloud Spanner C++ client types and functions.
These QueryOptions allow users to configure features about how their SQL queries executes on the serv...
#define SPANNER_CLIENT_NS
QueryOptions & set_optimizer_version(optional< std::string > version)
Sets the optimizerion version to the specified integer string.