uk.ac.gla.terrier.structures.indexing.singlepass
Class FileRunIteratorFactory
java.lang.Object
uk.ac.gla.terrier.structures.indexing.singlepass.RunIteratorFactory
uk.ac.gla.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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileRunIteratorFactory
public FileRunIteratorFactory(java.lang.String[][] _files,
java.lang.Class<? extends PostingInRun> _postingClass)
createRunIterator
public RunIterator createRunIterator(int runNumber)
throws java.lang.Exception
- Return a RunIterator for the specified runNumber
- Specified by:
createRunIterator
in class RunIteratorFactory
- Throws:
java.lang.Exception
Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow