|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputSplit
InputSplit represents the data to be processed by an
individual Mapper.
Typically, it presents a byte-oriented view on the input and is the
responsibility of RecordReader of the job to process this and present
a record-oriented view.
InputFormat,
RecordReader| Method Summary | |
|---|---|
long |
getLength()
Get the total number of bytes in the data of the InputSplit. |
String[] |
getLocations()
Get the list of hostnames where the input split is located. |
| Methods inherited from interface org.apache.hadoop.io.Writable |
|---|
readFields, write |
| Method Detail |
|---|
long getLength()
throws IOException
InputSplit.
IOException
String[] getLocations()
throws IOException
InputSplit is
located as an array of Strings.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||