org.terrier.structures.indexing.singlepass.hadoop
Class FileSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.mapred.FileSplit
          extended by org.terrier.structures.indexing.singlepass.hadoop.FileSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable, org.apache.hadoop.mapred.InputSplit

public class FileSplit
extends org.apache.hadoop.mapred.FileSplit

An instance of org.apache.hadoop.mapred.FileSplit that provides a default constructor.

Since:
3.0
Author:
Richard McCreadie and Craig Macdonald

Constructor Summary
FileSplit()
          constructor
FileSplit(org.apache.hadoop.fs.Path file, long start, long length, java.lang.String[] hosts)
          constructor
 
Method Summary
 
Methods inherited from class org.apache.hadoop.mapred.FileSplit
getLength, getLocations, getPath, getStart, readFields, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileSplit

public FileSplit()
constructor


FileSplit

public FileSplit(org.apache.hadoop.fs.Path file,
                 long start,
                 long length,
                 java.lang.String[] hosts)
constructor

Parameters:
file -
start -
length -
hosts -


Terrier 3.5. Copyright © 2004-2011 University of Glasgow