|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.examples.pi.TaskResult
public class TaskResult
A class for map task results or reduce task results.
| Constructor Summary | |
|---|---|
TaskResult()
|
|
| Method Summary | |
|---|---|
TaskResult |
combine(TaskResult that)
Combine this with that. |
int |
compareTo(TaskResult that)
|
boolean |
equals(Object obj)
|
Summation |
getElement()
|
int |
hashCode()
Not supported |
void |
readFields(DataInput in)
|
String |
toString()
|
static TaskResult |
valueOf(String s)
Covert a String to a TaskResult |
void |
write(DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TaskResult()
| Method Detail |
|---|
public Summation getElement()
getElement in interface Container<Summation>public int compareTo(TaskResult that)
compareTo in interface Comparable<TaskResult>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic TaskResult combine(TaskResult that)
combine in interface Combinable<TaskResult>that - Another object.
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic String toString()
toString in class Objectpublic static TaskResult valueOf(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||