Terrier IR Platform
2.2.1

uk.ac.gla.terrier.structures.indexing.singlepass
Class FileRunIteratorFactory

java.lang.Object
  extended by uk.ac.gla.terrier.structures.indexing.singlepass.RunIteratorFactory
      extended by 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


Constructor Summary
FileRunIteratorFactory(java.lang.String[][] _files, java.lang.Class<? extends PostingInRun> _postingClass)
           
 
Method Summary
 RunIterator createRunIterator(int runNumber)
          Return a RunIterator for the specified runNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRunIteratorFactory

public FileRunIteratorFactory(java.lang.String[][] _files,
                              java.lang.Class<? extends PostingInRun> _postingClass)
Method Detail

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 IR Platform
2.2.1

Terrier Information Retrieval Platform 2.2.1. Copyright 2004-2008 University of Glasgow