Package com.google.datastore.v1.client
Class DatastoreEmulatorFactory
java.lang.Object
com.google.datastore.v1.client.DatastoreFactory
com.google.datastore.v1.client.DatastoreEmulatorFactory
Factory for
DatastoreEmulator
.-
Field Summary
Fields inherited from class com.google.datastore.v1.client.DatastoreFactory
DEFAULT_HOST, VERSION
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DatastoreOptions options) Provides access to a datastore using the provided options.create
(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions) static DatastoreEmulatorFactory
get()
Methods inherited from class com.google.datastore.v1.client.DatastoreFactory
logMethodCalls, makeClient, newRemoteRpc
-
Method Details
-
get
-
create
Description copied from class:DatastoreFactory
Provides access to a datastore using the provided options. Logs into the application using the credentials available via these options.- Overrides:
create
in classDatastoreFactory
- Throws:
IllegalArgumentException
- if the server or credentials weren't provided.
-
create
public DatastoreEmulator create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)
-