@InterfaceAudience.Public @InterfaceStability.Stable public abstract class InputSplit extends Object
InputSplitrepresents the data to be processed by an individual
Typically, it presents a byte-oriented view on the input and is the
RecordReader of the job to process this and present
a record-oriented view.
|Constructor and Description|
|Modifier and Type||Method and Description|
Get the size of the split, so that the input splits can be sorted by size.
Gets info about which nodes the input split is stored on and how it is stored at each location.
Get the list of nodes by name where the data for the split would be local.
public abstract long getLength() throws IOException, InterruptedException
public abstract String getLocations() throws 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.
Copyright © 2017 Apache Software Foundation. All rights reserved.