Google Cloud Spanner C++ Client  1.42.0
A C++ Client Library for Google Cloud Spanner
Classes | Namespaces | Typedefs | Functions
keys.h File Reference
#include "google/cloud/spanner/value.h"
#include "google/cloud/spanner/version.h"
#include <google/spanner/v1/keys.pb.h>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  google::cloud::spanner::KeyBound
 The KeyBound class is a regular type that represents an open or closed endpoint for a range of keys. More...
 
class  google::cloud::spanner::KeySet
 The KeySet class is a regular type that represents a collection of Keys. More...
 

Namespaces

 google
 
 google::cloud
 The namespace Google Cloud Platform C++ client libraries.
 
 google::cloud::spanner
 Contains all the Cloud Spanner C++ client types and functions.
 

Typedefs

using google::cloud::spanner::Key = std::vector< Value >
 A Key is a collection of Value objects where the i'th value corresponds to the i'th component of the table or primary index key. More...
 

Functions

template<typename... Ts>
Key google::cloud::spanner::MakeKey (Ts &&... ts)
 Constructs a Key from the given arguments. More...
 
template<typename... Ts>
KeyBound google::cloud::spanner::MakeKeyBoundClosed (Ts &&... ts)
 Returns a "closed" KeyBound with a Key constructed from the given arguments. More...
 
template<typename... Ts>
KeyBound google::cloud::spanner::MakeKeyBoundOpen (Ts &&... ts)
 Returns an "open" KeyBound with a Key constructed from the given arguments. More...