|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.structures.indexing.singlepass.RunIteratorFactory uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.HadoopRunIteratorFactory
public class HadoopRunIteratorFactory
Creates a new HadoopRunIterator.
Constructor Summary | |
---|---|
HadoopRunIteratorFactory(java.util.Iterator<MapEmittedPostingList> _postingIterator,
java.lang.Class<? extends PostingInRun> _postingClass)
|
Method Summary | |
---|---|
RunIterator |
createRunIterator(int runNumber)
Open the RunIterator for the specified run number |
void |
setRunPostingIterator(java.util.Iterator<MapEmittedPostingList> _postingIterator)
Update the posting iterator currently being used |
void |
setTerm(java.lang.String _term)
Update the term which is currently being processed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HadoopRunIteratorFactory(java.util.Iterator<MapEmittedPostingList> _postingIterator, java.lang.Class<? extends PostingInRun> _postingClass)
Method Detail |
---|
public RunIterator createRunIterator(int runNumber) throws java.lang.Exception
RunIteratorFactory
createRunIterator
in class RunIteratorFactory
java.lang.Exception
public void setRunPostingIterator(java.util.Iterator<MapEmittedPostingList> _postingIterator)
public void setTerm(java.lang.String _term)
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |