public class DatastoreFactory extends Object
Datastore
.Modifier and Type | Method and Description |
---|---|
Datastore |
create(DatastoreOptions options)
Provides access to a datastore using the provided options.
|
static DatastoreFactory |
get() |
static void |
logMethodCalls()
Starts logging datastore method calls to the console.
|
com.google.api.client.http.HttpRequestFactory |
makeClient(DatastoreOptions options)
Constructs a Google APIs HTTP client with the associated credentials.
|
public static final String VERSION
public static DatastoreFactory get()
public Datastore create(DatastoreOptions options) throws IllegalArgumentException
IllegalArgumentException
- if the server or credentials weren't provided.public com.google.api.client.http.HttpRequestFactory makeClient(DatastoreOptions options)
public static void logMethodCalls()
Copyright © 2013. All Rights Reserved.