| Modifier and Type | Method and Description |
|---|---|
List<Key<T>> |
asKeyList()
Execute the query and get the results (as a
List<Key<T>>) This method is provided as a convenience; |
List<T> |
asList()
Execute the query and get the results.
|
long |
countAll()
Count the total number of values in the result, ignoring limit and offset
|
MorphiaIterator<T,T> |
fetch()
Execute the query and get the results.
|
MorphiaIterator<T,T> |
fetchEmptyEntities()
Execute the query and get only the ids of the results.
|
MorphiaKeyIterator<T> |
fetchKeys()
Execute the query and get the keys for the objects.
|
T |
get()
Gets the first entity in the result set.
|
Key<T> |
getKey()
Get the key of the first entity in the result set.
|
MorphiaIterator<T,T> |
tail()
Calls
tail(true); |
MorphiaIterator<T,T> |
tail(boolean awaitData)
Returns an tailing iterator over a set of elements of type T.
|
forEach, iterator, spliteratorList<Key<T>> asKeyList()
List<Key<T>>) This method is provided as a convenience;List<T> asList()
long countAll()
MorphiaIterator<T,T> fetch()
MorphiaIterator<T,T> fetchEmptyEntities()
MorphiaKeyIterator<T> fetchKeys()
fetchEmptyEntities()T get()
Query offset value.Key<T> getKey()
Query offset value.MorphiaIterator<T,T> tail()
tail(true);tail(boolean)MorphiaIterator<T,T> tail(boolean awaitData)
awaitData - passes the awaitData to the cursorBytes.QUERYOPTION_AWAITDATA