|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.structures.indexing.singlepass.RunIterator
uk.ac.gla.terrier.structures.indexing.singlepass.hadoop.HadoopRunPostingIterator
public class HadoopRunPostingIterator
| Constructor Summary | |
|---|---|
HadoopRunPostingIterator(java.lang.Class<? extends PostingInRun> postingClass,
int runNo,
java.util.Iterator<MapEmittedPostingList> _postingiterator,
java.lang.String _term)
Constructs a new RunPostingIterator. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMapNo()
Returns the map that the current posting came from |
boolean |
hasNext()
Move to the next posting |
PostingInRun |
next()
Return the next PostingInRun |
| Methods inherited from class uk.ac.gla.terrier.structures.indexing.singlepass.RunIterator |
|---|
close, current, getRunNo, remove |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HadoopRunPostingIterator(java.lang.Class<? extends PostingInRun> postingClass,
int runNo,
java.util.Iterator<MapEmittedPostingList> _postingiterator,
java.lang.String _term)
throws java.lang.Exception
postingClass - is the name of the class to use to read the postingsrunNo - is the number of the run_postingiterator - is the iterator of reduce input data that we are going to loop through_term - is the term that this iterator is operating on
java.lang.Exception| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<PostingInRun>hasNext in class RunIteratorpublic PostingInRun next()
next in interface java.util.Iterator<PostingInRun>next in class RunIteratorpublic java.lang.String getMapNo()
|
Terrier IR Platform 2.2.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||