|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.InputSplit
org.apache.hadoop.examples.pi.DistSum.Machine.SummationSplit
public static final class DistSum.Machine.SummationSplit
Split for the summations
Constructor Summary | |
---|---|
DistSum.Machine.SummationSplit()
|
Method Summary | |
---|---|
Summation |
getElement()
|
long |
getLength()
Get the size of the split, so that the input splits can be sorted by size. |
String[] |
getLocations()
Get the list of nodes by name where the data for the split would be local. |
void |
readFields(DataInput in)
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistSum.Machine.SummationSplit()
Method Detail |
---|
public Summation getElement()
getElement
in interface Container<Summation>
public long getLength()
getLength
in class InputSplit
public String[] getLocations()
getLocations
in class InputSplit
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |