15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_READ_OPTIONS_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_READ_OPTIONS_H
18#include "google/cloud/spanner/request_priority.h"
19#include "google/cloud/spanner/version.h"
20#include "google/cloud/optional.h"
21#include "google/cloud/options.h"
22#include "absl/types/optional.h"
29GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
34
35
36
37
41
42
43
47
48
52
53
73GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Cloud Spanner C++ client types and functions.
Definition: backoff_policy.h:23
bool operator!=(ReadOptions const &lhs, ReadOptions const &rhs)
Definition: read_options.h:63
RequestPriority
Definition: request_priority.h:26
ReadOptions ToReadOptions(Options const &)
Converts common Options to ReadOptions.
bool operator==(ReadOptions const &lhs, ReadOptions const &rhs)
Definition: read_options.h:57
Options ToOptions(ReadOptions const &)
Converts ReadOptions to common Options.
Options passed to Client::Read or Client::PartitionRead.
Definition: read_options.h:32
std::int64_t limit
Limit on the number of rows to yield, or 0 for no limit.
Definition: read_options.h:44
std::string index_name
If non-empty, the name of an index on a database table.
Definition: read_options.h:38
absl::optional< std::string > request_tag
Tag for the read request.
Definition: read_options.h:54
absl::optional< RequestPriority > request_priority
Priority for the read request.
Definition: read_options.h:49