CombineFileSplit instead@Deprecated public class MultiFileSplit extends CombineFileSplit
FileSplit, MultiFileSplit
class does not represent a split of a file, but a split of input files
into smaller sets. The atomic unit of split is a file. RecordReader's, with
reading one record per file.FileSplit,
MultiFileInputFormat| Constructor and Description |
|---|
MultiFileSplit(JobConf job,
org.apache.hadoop.fs.Path[] files,
long[] lengths)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getLocations()
Deprecated.
Returns all the Paths where this input-split resides
|
java.lang.String |
toString()
Deprecated.
|
getJob, getLength, getLength, getLengths, getNumPaths, getOffset, getPath, getPaths, getStartOffsets, readFields, writepublic MultiFileSplit(JobConf job, org.apache.hadoop.fs.Path[] files, long[] lengths)
public java.lang.String[] getLocations()
throws java.io.IOException
CombineFileSplitgetLocations in interface InputSplitgetLocations in class CombineFileSplitInputSplit is
located as an array of Strings.java.io.IOExceptionpublic java.lang.String toString()
toString in class CombineFileSplitCopyright © 2009 The Apache Software Foundation