R - type of resultpublic class MapReduceResultImpl<R> extends Object implements MapReduceResult<R>, Externalizable
MapReduceResult.| Constructor and Description |
|---|
MapReduceResultImpl() |
MapReduceResultImpl(R outputResult,
Counters counters) |
| Modifier and Type | Method and Description |
|---|---|
Counters |
getCounters()
Returns the counter values at the end of the job.
|
R |
getOutputResult()
Returns the result from
Output.finish(java.util.Collection<? extends com.google.appengine.tools.mapreduce.OutputWriter<O>>) or null if completed unsuccessfully. |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public R getOutputResult()
MapReduceResultOutput.finish(java.util.Collection<? extends com.google.appengine.tools.mapreduce.OutputWriter<O>>) or null if completed unsuccessfully.getOutputResult in interface MapReduceResult<R>public Counters getCounters()
MapReduceResultgetCounters in interface MapReduceResult<R>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2015 Google. All rights reserved.