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
RunIteratorFactorycreateRunIterator in class RunIteratorFactoryExceptionpublic void setRunPostingIterator(Iterator<MapEmittedPostingList> _postingIterator)
public void setTerm(String _term)
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow