Classes
DatastoreClient
Each RPC normalizes the partition IDs of the keys in its input entities, and always returns entities with keys with normalized partition IDs.
DatastoreConnection
The DatastoreConnection
object for DatastoreClient
.
DatastoreConnectionIdempotencyPolicy
DatastoreLimitedErrorCountRetryPolicy
A retry policy for DatastoreConnection
based on counting errors.
DatastoreLimitedTimeRetryPolicy
A retry policy for DatastoreConnection
based on elapsed time.
DatastoreRetryPolicy
The retry policy for DatastoreConnection
.
Structs
DatastoreBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
DatastoreConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
DatastoreRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeDatastoreConnection(Options)
A factory function to construct an object of type DatastoreConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of DatastoreClient.
The optional options
argument may be used to configure aspects of the returned DatastoreConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< DatastoreConnection > |
MakeDefaultDatastoreConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< DatastoreConnectionIdempotencyPolicy > |
Type Aliases
DatastorePolicyOptionList
OptionList< DatastoreRetryPolicyOption, DatastoreBackoffPolicyOption, DatastoreConnectionIdempotencyPolicyOption >
The options applicable to Datastore.