org.terrier.structures.indexing.singlepass
Class FileRunIteratorFactory
java.lang.Object
org.terrier.structures.indexing.singlepass.RunIteratorFactory
org.terrier.structures.indexing.singlepass.FileRunIteratorFactory
public class FileRunIteratorFactory
- extends RunIteratorFactory
Creates FileRunIterators, using the specificed filenames as the run data files, and
the specified class as the type of the postings in the run files
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRunIteratorFactory
public FileRunIteratorFactory(String[][] _files,
Class<? extends PostingInRun> _postingClass,
int numFields)
- constructor
- Parameters:
_files
- _postingClass
- numFields
-
createRunIterator
public RunIterator createRunIterator(int runNumber)
throws Exception
- Return a RunIterator for the specified runNumber
- Specified by:
createRunIterator
in class RunIteratorFactory
- Throws:
Exception
Terrier 3.6. Copyright © 2004-2011 University of Glasgow