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()
MapReduceResult
Output.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()
MapReduceResult
getCounters
in interface MapReduceResult<R>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2015 Google. All rights reserved.