Package | Description |
---|---|
com.googlecode.objectify | |
com.googlecode.objectify.cmd | |
com.googlecode.objectify.impl | |
com.googlecode.objectify.util |
Modifier and Type | Class and Description |
---|---|
class |
LoadResult<T>
Enhances the basic Result> with some additional methods useful when loading data.
|
Constructor and Description |
---|
LoadResult(Key<T> key,
Result<T> result) |
Modifier and Type | Method and Description |
---|---|
<E> Result<Map<Key<E>,E>> |
Saver.entities(E... entities)
A convenience method for entities(Iterable)
|
Result<Void> |
Deleter.entities(Iterable<?> entities)
Begin asynchronous deletion of specific entities.
|
<E> Result<Map<Key<E>,E>> |
Saver.entities(Iterable<E> entities)
Asynchronously save a batch of entities in the datastore.
|
Result<Void> |
Deleter.entities(Object... entities)
Convenient substitute for entities(Iterable)
|
<E> Result<Key<E>> |
Saver.entity(E entity)
Asynchronously save a single entity in the datastore.
|
Result<Void> |
Deleter.entity(Object entity)
Begin asynchronous deletion of a specific entity.
|
Result<Void> |
DeleteIds.id(long id)
Specify the numeric id of an entity and start asynchronous deletion.
|
Result<Void> |
DeleteIds.id(String id)
Specify the String id of an entity and start asynchronous deletion.
|
<S> Result<Void> |
DeleteIds.ids(Iterable<S> ids)
Specify the ids of multiple entities and start asynchronous deletion.
|
Result<Void> |
DeleteIds.ids(long... ids)
Specify the numeric ids of multiple entities and start asynchronous deletion.
|
Result<Void> |
DeleteIds.ids(String... ids)
Specify the String ids of multiple entities and start asynchronous deletion.
|
Result<Void> |
Deleter.key(Key<?> key)
Begin asynchronous deletion of a specific entity.
|
Result<Void> |
Deleter.keys(Iterable<? extends Key<?>> keys)
Begin asynchronous deletion of specific entities.
|
Result<Void> |
Deleter.keys(Key<?>... keys)
Convenient substitute for keys(Iterable)
|
Modifier and Type | Class and Description |
---|---|
class |
ResultAdapter<T>
Adapts a Future object to a (much more convenient) Result object.
|
Modifier and Type | Field and Description |
---|---|
protected Result<TransactionImpl> |
TransactorYes.transaction
Our transaction.
|
Modifier and Type | Method and Description |
---|---|
Result<Void> |
WriteEngine.delete(Iterable<com.google.appengine.api.datastore.Key> keys)
The fundamental delete() operation.
|
<E> Result<Map<Key<E>,E>> |
SaverImpl.entities(E... entities) |
Result<Void> |
DeleterImpl.entities(Iterable<?> entities) |
<E> Result<Map<Key<E>,E>> |
SaverImpl.entities(Iterable<E> entities) |
Result<Void> |
DeleterImpl.entities(Object... entities) |
<E> Result<Key<E>> |
SaverImpl.entity(E entity) |
Result<Void> |
DeleterImpl.entity(Object entity) |
Result<Map<com.google.appengine.api.datastore.Key,com.google.appengine.api.datastore.Entity>> |
LoadEngine.fetch(Set<com.google.appengine.api.datastore.Key> keys)
Fetch the keys from the async datastore using the current transaction context
|
Result<T> |
SessionValue.getResult() |
Result<Void> |
DeleterImpl.key(Key<?> key) |
Result<Void> |
DeleterImpl.keys(Iterable<? extends Key<?>> keys) |
Result<Void> |
DeleterImpl.keys(Key<?>... keys) |
<T> Result<T> |
LoadEngine.load(Key<T> key)
Gets the result, possibly from the session, putting it in the session if necessary.
|
<E> Result<Map<Key<E>,E>> |
WriteEngine.save(Iterable<? extends E> entities)
The fundamental put() operation.
|
Result<Map<Key<?>,Object>> |
LoadEngine.translate(Result<Map<com.google.appengine.api.datastore.Key,com.google.appengine.api.datastore.Entity>> raw)
Asynchronously translate raw to processed; might produce successive load operations as refs are filled in
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionImpl.enlist(Result<?> result)
Enlist any operations that modify the session.
|
Result<Map<Key<?>,Object>> |
LoadEngine.translate(Result<Map<com.google.appengine.api.datastore.Key,com.google.appengine.api.datastore.Entity>> raw)
Asynchronously translate raw to processed; might produce successive load operations as refs are filled in
|
Constructor and Description |
---|
SessionValue(Result<T> result)
No load arrangement - in other words, this was a save operation
|
SessionValue(Result<T> result,
LoadArrangement loadArrangement) |
Modifier and Type | Class and Description |
---|---|
class |
IteratorFirstResult<T>
Extracts the first value of the iterator as the result value.
|
class |
MakeListResult<T>
Simple ResultTranslator that converts from an Iterable to a List.
|
class |
ResultCache<T>
Caches a result value so it is only executed once
|
class |
ResultNow<T>
Simplistic result that holds a constant value.
|
class |
ResultTranslator<F,T>
Translates from one arbitrary thing to a Result of another arbitrary thing, caching the value.
|
class |
ResultWrapper<F,T>
Wraps a Result, translating from one type to another and caching the result
|
Modifier and Type | Method and Description |
---|---|
T |
ResultNowFunction.apply(Result<T> input) |
static <S> S |
ResultProxy.create(Class<? super S> interf,
Result<S> result)
Create a ResultProxy for the given interface.
|
protected T |
ResultWrapper.translate(Result<F> from) |
Constructor and Description |
---|
ResultWrapper(Result<F> base) |
Copyright © 2016. All rights reserved.