Class DatastoreEmulatorFactory (2.14.6)

public class DatastoreEmulatorFactory extends DatastoreFactory

Factory for DatastoreEmulator.

Inheritance

java.lang.Object > DatastoreFactory > DatastoreEmulatorFactory

Static Methods

get()

public static DatastoreEmulatorFactory get()
Returns
TypeDescription
DatastoreEmulatorFactory

Methods

create(DatastoreOptions options)

public DatastoreEmulator create(DatastoreOptions options)

Provides access to a datastore using the provided options. Logs into the application using the credentials available via these options.

Parameter
NameDescription
optionsDatastoreOptions
Returns
TypeDescription
DatastoreEmulator
Overrides
Exceptions
TypeDescription
IllegalArgumentException

create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)

public DatastoreEmulator create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)
Parameters
NameDescription
optionsDatastoreOptions
localDevelopmentOptionsDatastoreEmulatorOptions
Returns
TypeDescription
DatastoreEmulator