public class HadoopRunIteratorFactory extends RunIteratorFactory
numberOfFields
Constructor and Description |
---|
HadoopRunIteratorFactory(Iterator<MapEmittedPostingList> _postingIterator,
Class<? extends PostingInRun> _postingClass,
int numberOfFields)
constructor
|
Modifier and Type | Method and Description |
---|---|
RunIterator |
createRunIterator(int runNumber)
Open the RunIterator for the specified run number
|
void |
setRunPostingIterator(Iterator<MapEmittedPostingList> _postingIterator)
Update the posting iterator currently being used
|
void |
setTerm(String _term)
Update the term which is currently being processed
|
public HadoopRunIteratorFactory(Iterator<MapEmittedPostingList> _postingIterator, Class<? extends PostingInRun> _postingClass, int numberOfFields)
_postingIterator
- _postingClass
- numberOfFields
- public RunIterator createRunIterator(int runNumber) throws Exception
RunIteratorFactory
createRunIterator
in class RunIteratorFactory
Exception
public void setRunPostingIterator(Iterator<MapEmittedPostingList> _postingIterator)
public void setTerm(String _term)
Terrier 4.0. Copyright © 2004-2014 University of Glasgow