Google Cloud Spanner C++ Client
A C++ Client Library for Google Cloud Spanner
Classes | Namespaces | Typedefs | Functions
timestamp.h File Reference
#include "google/cloud/spanner/version.h"
#include "google/cloud/status_or.h"
#include <google/protobuf/timestamp.pb.h>
#include <chrono>
#include <cstdint>
#include <limits>
#include <ostream>
#include <string>
#include <tuple>

Go to the source code of this file.

Classes

class  google::cloud::spanner::v1::Timestamp
 A representation of the Spanner TIMESTAMP type: An instant in time. More...
 
struct  google::cloud::spanner::v1::CommitTimestamp
 A sentinel type used to update a commit timestamp column. 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.
 
 google::cloud::spanner::v1
 The inlined, versioned namespace for the Cloud Spanner C++ client APIs.
 

Typedefs

template<typename Duration >
using google::cloud::spanner::v1::sys_time = std::chrono::time_point< std::chrono::system_clock, Duration >
 Convenience alias. More...
 

Functions

template<typename Duration >
StatusOr< Timestamp > google::cloud::spanner::v1::MakeTimestamp (sys_time< Duration > const &)
 Construct a Timestamp from a std::chrono::time_point on the system clock. More...