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.Writable
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public long getLength()
InputSplit
InputSplit
.getLength
in interface InputSplit
public java.lang.String[] getLocations()
InputSplit
getLocations
in interface InputSplit
InputSplit
is
located as an array of String
s.Copyright © 2009 The Apache Software Foundation