|
||||||||||
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 Object
public int hashCode()
hashCode
in class Object
public 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.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public String toString()
toString
in class Object
public static TaskResult valueOf(String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |