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 DatastoreEmulatorFactoryget()Methods inherited from class com.google.datastore.v1.client.DatastoreFactory
logMethodCalls, makeClient, newRemoteRpc
-
Method Details
-
get
-
create
Description copied from class:DatastoreFactoryProvides access to a datastore using the provided options. Logs into the application using the credentials available via these options.- Overrides:
createin classDatastoreFactory- Throws:
IllegalArgumentException- if the server or credentials weren't provided.
-
create
public DatastoreEmulator create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)
-