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.| 构造器和说明 |
|---|
MultiFileSplit(JobConf job,
Path[] files,
long[] lengths)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
getLocations()
已过时。
Returns all the Paths where this input-split resides
|
String |
toString()
已过时。
|
getJob, getLength, getLength, getLengths, getNumPaths, getOffset, getPath, getPaths, getStartOffsets, readFields, writepublic String[] getLocations() throws IOException
CombineFileSplitgetLocations 在接口中 InputSplitgetLocations 在类中 CombineFileSplitInputSplit is
located as an array of Strings.IOExceptionpublic String toString()
toString 在类中 CombineFileSplitCopyright © 2009 The Apache Software Foundation