| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.InputSplit
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class 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| Constructor Summary | |
|---|---|
| InputSplit() | |
| Method Summary | |
|---|---|
| abstract  long | getLength()Get the size of the split, so that the input splits can be sorted by size. | 
|  SplitLocationInfo[] | getLocationInfo()Gets info about which nodes the input split is stored on and how it is stored at each location. | 
| abstract  String[] | getLocations()Get the list of nodes by name where the data for the split would be local. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InputSplit()
| Method Detail | 
|---|
public abstract long getLength()
                        throws IOException,
                               InterruptedException
IOException
InterruptedException
public abstract String[] getLocations()
                               throws IOException,
                                      InterruptedException
IOException
InterruptedException
@InterfaceStability.Evolving
public SplitLocationInfo[] getLocationInfo()
                                    throws IOException
SplitLocationInfos describing how the split
    data is stored at each location. A null value indicates that all the
    locations have the data stored on disk.
IOException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||