| Modifier and Type | Class and Description |
|---|---|
class |
MapreduceResults.Stats
This class represents various statistics about a map reduce operation
|
| Constructor and Description |
|---|
MapreduceResults(MapReduceOutput output)
Creates a results instance for the given output
|
| Modifier and Type | Method and Description |
|---|---|
Query<T> |
createQuery() |
MapreduceResults.Stats |
getCounts() |
long |
getElapsedMillis() |
String |
getError()
Deprecated.
|
Iterator<T> |
getInlineResults()
Creates an Iterator over the results of the operation.
|
MapreduceType |
getType() |
boolean |
isOk()
Deprecated.
|
Iterator<T> |
iterator()
Creates an Iterator over the results of the operation.
|
void |
setInlineRequiredOptions(Datastore datastore,
Class<T> clazz,
Mapper mapper,
EntityCache cache)
Sets the required options when the operation type was INLINE
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MapreduceResults(MapReduceOutput output)
output - the output of the operationpublic MapreduceResults.Stats getCounts()
public long getElapsedMillis()
@Deprecated public String getError()
public Iterator<T> getInlineResults()
iterator() will return the proper Iterator regardless of the type of map reduce operation
performed.MapreduceTypepublic MapreduceType getType()
@Deprecated public boolean isOk()
public void setInlineRequiredOptions(Datastore datastore, Class<T> clazz, Mapper mapper, EntityCache cache)
datastore - the Datastore to use when fetching this referenceclazz - the type of the resultsmapper - the mapper to usecache - the cache of entities seen so farMapreduceType