public static class SleepJob.EmptySplit extends java.lang.Object implements InputSplit
| Constructor and Description |
|---|
SleepJob.EmptySplit() |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Get the total number of bytes in the data of the
InputSplit. |
java.lang.String[] |
getLocations()
Get the list of hostnames where the input split is located.
|
void |
readFields(java.io.DataInput in) |
void |
write(java.io.DataOutput out) |
public void write(java.io.DataOutput out)
throws java.io.IOException
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic long getLength()
InputSplitInputSplit.getLength in interface InputSplitpublic java.lang.String[] getLocations()
InputSplitgetLocations in interface InputSplitInputSplit is
located as an array of Strings.Copyright © 2009 The Apache Software Foundation