15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_OPTIONS_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_SPANNER_OPTIONS_H
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
41#include "google/cloud/spanner/backoff_policy.h"
42#include "google/cloud/spanner/internal/session.h"
43#include "google/cloud/spanner/polling_policy.h"
44#include "google/cloud/spanner/request_priority.h"
45#include "google/cloud/spanner/retry_policy.h"
46#include "google/cloud/spanner/version.h"
47#include "google/cloud/options.h"
57GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
60
61
62
63
65 using Type = std::shared_ptr<
spanner::RetryPolicy>;
69
70
71
72
74 using Type = std::shared_ptr<
spanner::BackoffPolicy>;
78
79
80
81
83 using Type = std::shared_ptr<
spanner::PollingPolicy>;
87
88
89using SpannerPolicyOptionList =
94
95
96
97
98
99
100
101
102
103
104
110
111
112
113
114
116 using Type = std::string;
120
121
122
123
124
125
126
127
128
134
135
136
137
138
139
140
146
147
148
149
150
151
152
160
161
162
163
164
170
171
172
173
174
175
176
177
178
180 using Type = std::chrono::seconds;
184
185
186
187
188
189
190
191
192
194 using Type = std::map<std::string, std::string>;
198
199
200using SessionPoolOptionList = OptionList<
207
208
209
210
211
213 using Type = std::string;
217
218
219
220
221
223 using Type = std::string;
227
228
229
230
236
237
238
239
241 using Type = std::string;
245
246
247
248
249
250
252 using Type = std::string;
256
257
258
259
260
261
263 using Type = std::int64_t;
267
268
269
270
271
272
273
275 using Type = std::size_t;
279
280
281
282
283
284
285
286
288 using Type = std::int64_t;
292
293
294
295
296
297
298
299
300
301
303 using Type = std::int64_t;
307
308
309
310
311
312
313
314
315
321
322
323
324
326 using Type = std::string;
330
331
332
333
334
340
341
344GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Cloud Spanner C++ client types and functions.
Definition: backoff_policy.h:23
ActionOnExhaustion
Action to take when the session pool is exhausted.
Definition: options.h:158
RequestPriority
Definition: request_priority.h:26
Option for google::cloud::Options to return additional statistics about the committed transaction in ...
Definition: options.h:335
Option for google::cloud::Options to use "data boost" in the partitions returned from Client::Partiti...
Definition: options.h:316
Option for google::cloud::Options to set the desired partition size to be generated by Client::Partit...
Definition: options.h:287
Option for google::cloud::Options to set the desired maximum number of partitions to return from Clie...
Definition: options.h:302
Option for google::cloud::Options to set the optimizer statistics package used in an SQL query.
Definition: options.h:222
Option for google::cloud::Options to set the optimizer version used in an SQL query.
Definition: options.h:212
Option for google::cloud::Options to set the name of an index on a database table.
Definition: options.h:251
Option for google::cloud::Options to set a limit on the number of rows to yield from Client::Read().
Definition: options.h:262
Option for google::cloud::Options to set a spanner::RequestPriority.
Definition: options.h:231
Option for google::cloud::Options to set a per-request tag.
Definition: options.h:240
Control "route to leader region" headers.
Definition: options.h:105
Option for google::cloud::Options to set the database role used for session creation.
Definition: options.h:115
Option for google::cloud::Options to set the action to take when attempting to allocate a session whe...
Definition: options.h:165
Option for google::cloud::Options to set the interval at which we refresh sessions so they don't get ...
Definition: options.h:179
Option for google::cloud::Options to set the labels used when creating sessions within the pool.
Definition: options.h:193
Option for google::cloud::Options to set the maximum number of sessions to keep in the pool in an idl...
Definition: options.h:153
Option for google::cloud::Options to set the maximum number of sessions to create on each channel.
Definition: options.h:141
Option for google::cloud::Options to set the minimum number of sessions to keep in the pool.
Definition: options.h:129
Option for google::cloud::Options to set a spanner::BackoffPolicy.
Definition: options.h:73
Option for google::cloud::Options to set a spanner::PollingPolicy.
Definition: options.h:82
Option for google::cloud::Options to set a spanner::RetryPolicy.
Definition: options.h:64
Option for google::cloud::Options to set a limit on how much data will be buffered to guarantee resum...
Definition: options.h:274
Option for google::cloud::Options to set a per-transaction tag.
Definition: options.h:325