Package | Description |
---|---|
com.google.api.client.extensions.appengine.datastore |
Support for the App Engine data store.
|
com.google.api.client.util.store |
Utilities to store serializable data.
|
Modifier and Type | Method and Description |
---|---|
protected <V extends Serializable> |
AppEngineDataStoreFactory.createDataStore(String id) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDataStore<V extends Serializable>
Abstract data store implementation.
|
class |
AbstractMemoryDataStore<V extends Serializable>
Abstract, thread-safe, in-memory implementation of a data store factory.
|
Modifier and Type | Method and Description |
---|---|
DataStore<V> |
DataStore.clear()
Deletes all of the stored keys and values.
|
DataStore<V> |
AbstractMemoryDataStore.clear() |
protected <V extends Serializable> |
FileDataStoreFactory.createDataStore(String id) |
protected <V extends Serializable> |
MemoryDataStoreFactory.createDataStore(String id) |
protected abstract <V extends Serializable> |
AbstractDataStoreFactory.createDataStore(String id)
Returns a new instance of a type-specific data store based on the given unique ID.
|
DataStore<V> |
DataStore.delete(String key)
Deletes the stored key and value based on the given key, or ignored if the key doesn't already
exist.
|
DataStore<V> |
AbstractMemoryDataStore.delete(String key) |
<V extends Serializable> |
DataStoreFactory.getDataStore(String id)
Returns a type-specific data store based on the given unique ID.
|
<V extends Serializable> |
AbstractDataStoreFactory.getDataStore(String id) |
DataStore<V> |
DataStore.set(String key,
V value)
Stores the given value for the given key (replacing any existing value).
|
DataStore<V> |
AbstractMemoryDataStore.set(String key,
V value) |
Modifier and Type | Method and Description |
---|---|
static String |
DataStoreUtils.toString(DataStore<?> dataStore)
Returns a debug string for the given data store to be used as an implementation of
Object.toString() . |
Copyright © 2011–2019 Google. All rights reserved.