@InterfaceAudience.Public @InterfaceStability.Stable 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| コンストラクタと説明 |
|---|
MultiFileSplit(JobConf job,
Path[] files,
long[] lengths) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
getLocations()
Returns all the Paths where this input-split resides
|
String |
toString() |
getJobgetLength, getLength, getLengths, getNumPaths, getOffset, getPath, getPaths, getStartOffsets, readFields, writegetLocationInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLengthreadFields, writepublic MultiFileSplit(JobConf job, Path[] files, long[] lengths)
public String[] getLocations() throws IOException
CombineFileSplitgetLocations インタフェース内 InputSplitgetLocations クラス内 CombineFileSplitIOExceptionpublic String toString()
toString クラス内 CombineFileSplitCopyright © 2016 Apache Software Foundation. All rights reserved.