public interface LoadType<T> extends LoadIds<T>, Query<T>
load().type(SomeType.class)
), the command
pattern can diverge into two directions: Either defining a parent or ids (which corresponds to a
batch get) or calling query-related methods (which will produce a query).Modifier and Type | Method and Description |
---|---|
LoadIds<T> |
parent(Object keyOrEntity)
Define a parent for a get-by-key operation.
|
ancestor, chunk, chunkAll, distinct, endAt, filter, filter, filterKey, filterKey, hybrid, limit, offset, order, orderKey, project, reverse, startAt
count, keys, toString
first, iterable, list
forEach, spliterator
LoadIds<T> parent(Object keyOrEntity)
All command objects are immutable; this method returns a new object instead of modifying the current command object.
keyOrEntity
- - a Key>, datastore Key, or entity pojo of the relevant entity to use as the key parentCopyright © 2016. All rights reserved.