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, write
public String[] getLocations() throws IOException
CombineFileSplit
getLocations
在接口中 InputSplit
getLocations
在类中 CombineFileSplit
InputSplit
is
located as an array of String
s.IOException
public String toString()
toString
在类中 CombineFileSplit
Copyright © 2009 The Apache Software Foundation