Logo Search packages:      
Sourcecode: hadoop version File versions  Download package

org::apache::hadoop::mapred::FileSplit Class Reference

Inheritance diagram for org::apache::hadoop::mapred::FileSplit:

org::apache::hadoop::mapreduce::InputSplit org::apache::hadoop::mapred::InputSplit org::apache::hadoop::io::Writable

List of all members.

Detailed Description

A section of an input file. Returned by InputFormat#getSplits(JobConf, int) and passed to InputFormat#getRecordReader(InputSplit,JobConf,Reporter).
Use org.apache.hadoop.mapreduce.lib.input.FileSplit instead.

Definition at line 35 of file FileSplit.java.

Public Member Functions

 FileSplit (Path file, long start, long length, String[] hosts)
 FileSplit (Path file, long start, long length, JobConf conf)
long getLength ()
String[] getLocations () throws IOException
Path getPath ()
long getStart ()
void readFields (DataInput in) throws IOException
String toString ()
void write (DataOutput out) throws IOException

Private Attributes

Path file
String[] hosts
long length
long start

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index