org.terrier.structures.indexing.singlepass
Class RunIteratorFactory

java.lang.Object
  extended by org.terrier.structures.indexing.singlepass.RunIteratorFactory
Direct Known Subclasses:
FileRunIteratorFactory, HadoopRunIteratorFactory

public abstract class RunIteratorFactory
extends java.lang.Object

Base class for Factories of RunIterators.

Since:
2.2
Author:
Craig Macdonald

Field Summary
protected  int numberOfFields
           
 
Constructor Summary
protected RunIteratorFactory(int numF)
           
 
Method Summary
abstract  RunIterator createRunIterator(int runNumber)
          Open the RunIterator for the specified run number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfFields

protected int numberOfFields
Constructor Detail

RunIteratorFactory

protected RunIteratorFactory(int numF)
Method Detail

createRunIterator

public abstract RunIterator createRunIterator(int runNumber)
                                       throws java.lang.Exception
Open the RunIterator for the specified run number

Throws:
java.lang.Exception


Terrier 3.5. Copyright © 2004-2011 University of Glasgow