org.apache.hadoop.mapred
Interface InputSplitWithLocationInfo

All Superinterfaces:
InputSplit, Writable
All Known Implementing Classes:
FileSplit

@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface InputSplitWithLocationInfo
extends InputSplit


Method Summary
 SplitLocationInfo[] getLocationInfo()
          Gets info about which nodes the input split is stored on and how it is stored at each location.
 
Methods inherited from interface org.apache.hadoop.mapred.InputSplit
getLength, getLocations
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Method Detail

getLocationInfo

SplitLocationInfo[] getLocationInfo()
                                    throws IOException
Gets info about which nodes the input split is stored on and how it is stored at each location.

Returns:
list of 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.
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.