|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.mapReduce.FileSplit
An InputFormat.Split
implementation for sections of files.
Constructor Summary | |
FileSplit(NutchFileSystem fs,
File file,
long start,
long length)
Constructs a split. |
Method Summary | |
File |
getFile()
The file containing this split's data. |
NutchFileSystem |
getFileSystem()
The file system containing this split's data. |
long |
getLength()
The number of bytes in the file to process. |
long |
getStart()
The position of the first byte in the file to process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSplit(NutchFileSystem fs, File file, long start, long length)
fs
- the NutchFileSystem
the file lives infile
- the file namestart
- the position of the first byte in the file to processlength
- the number of bytes in the file to processMethod Detail |
public NutchFileSystem getFileSystem()
public File getFile()
public long getStart()
public long getLength()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |