Package com.google.cloud.datastore.testing (2.21.3)

This package is not the recommended entry point to using this client library!

For this library, we recommend using com.google.cloud.datastore for new applications.

Classes

Class Description
com.google.cloud.datastore.testing.LocalDatastoreHelper Utility to start and stop local Google Cloud Datastore emulators.

This class is unstable.

com.google.cloud.datastore.testing.LocalDatastoreHelper.Builder A builder for LocalDatastoreHelper objects.
com.google.cloud.datastore.testing.RemoteDatastoreHelper Utility to create a remote datastore configuration for testing. Datastore options can be obtained via the #getOptions() method. Returned options use a randomly generated namespace (DatastoreOptions#getNamespace()) that can be used to run the tests. Once the tests are run, all entities in the namespace can be deleted using #deleteNamespace(). Returned options also have custom DatastoreOptions#getRetrySettings(): RetrySettings#getMaxAttempts()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.