Package com.google.datastore.v1.client (2.22.0)

GitHub Repository

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.datastore.v1.client.Datastore Provides access to Cloud Datastore.

This class is thread-safe.

com.google.datastore.v1.client.DatastoreEmulator An extension to Datastore that provides lifecycle management for a datastore emulator.

In order to use the emulator for a JUnit 4 test you might do something like this:

com.google.datastore.v1.client.DatastoreEmulatorFactory Factory for DatastoreEmulator.
com.google.datastore.v1.client.DatastoreEmulatorOptions An immutable object containing settings for a DatastoreEmulator.
com.google.datastore.v1.client.DatastoreEmulatorOptions.Builder Builder for DatastoreEmulatorOptions.
com.google.datastore.v1.client.DatastoreFactory Client factory for Datastore.
com.google.datastore.v1.client.DatastoreHelper Helper methods for Datastore.
com.google.datastore.v1.client.DatastoreOptions An immutable object containing settings for the datastore.

Example for connecting to a datastore:

com.google.datastore.v1.client.DatastoreOptions.Builder Builder for DatastoreOptions.

Interfaces

Interface Description
com.google.datastore.v1.client.QuerySplitter Provides the ability to split a query into multiple shards.

Exceptions

Exception Description
com.google.datastore.v1.client.DatastoreEmulatorException An exception related to the DatastoreEmulator.
com.google.datastore.v1.client.DatastoreException Indicates an error in a Datastore call.