|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.examples.pi.SummationWritable
public final class SummationWritable
A Writable class for Summation
| Constructor Summary | |
|---|---|
SummationWritable()
|
|
| Method Summary | |
|---|---|
int |
compareTo(SummationWritable that)
|
boolean |
equals(Object obj)
|
Summation |
getElement()
|
int |
hashCode()
Not supported |
static Summation |
read(Class<?> clazz,
org.apache.hadoop.conf.Configuration conf)
Read sigma from conf |
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
static void |
write(Summation sigma,
Class<?> clazz,
org.apache.hadoop.conf.Configuration conf)
Write sigma to conf |
static void |
write(Summation sigma,
DataOutput out)
Write sigma to DataOutput |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SummationWritable()
| Method Detail |
|---|
public String toString()
toString in class Objectpublic Summation getElement()
getElement in interface Container<Summation>
public static Summation read(Class<?> clazz,
org.apache.hadoop.conf.Configuration conf)
public static void write(Summation sigma,
Class<?> clazz,
org.apache.hadoop.conf.Configuration conf)
public void readFields(DataInput in)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
public static void write(Summation sigma,
DataOutput out)
throws IOException
IOException
public void write(DataOutput out)
throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic int compareTo(SummationWritable that)
compareTo in interface Comparable<SummationWritable>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||