|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.galagosearch.core.retrieval.structured.CountIterator
org.galagosearch.core.retrieval.structured.ExtentIterator
public abstract class ExtentIterator
This is base interface for all inverted lists that return count information. See the CountIterator class for documentation on most of these methods.
| Constructor Summary | |
|---|---|
ExtentIterator()
|
|
| Method Summary | |
|---|---|
abstract int |
count()
Returns the number of occurrences of this iterator's term in the current document. |
abstract int |
document()
Returns the current document. |
abstract ExtentArray |
extents()
|
abstract boolean |
isDone()
Returns true if there is no data left in the list and false otherwise. |
abstract void |
nextDocument()
Moves the iterator to the next document in the list. |
abstract void |
reset()
Resets the position of this iterator to the start of the list. |
boolean |
skipToDocument(int document)
Skips forward in the list until a document is found that is greater than or equal to the parameter. |
| Methods inherited from class org.galagosearch.core.retrieval.structured.CountIterator |
|---|
compareTo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtentIterator()
| Method Detail |
|---|
public abstract void nextDocument()
throws java.io.IOException
CountIterator
nextDocument in class CountIteratorjava.io.IOExceptionpublic abstract int document()
CountIterator
document in class CountIteratorpublic abstract int count()
CountIterator
count in class CountIteratorpublic abstract ExtentArray extents()
public abstract boolean isDone()
CountIterator
isDone in class CountIterator
public abstract void reset()
throws java.io.IOException
CountIterator
reset in interface StructuredIteratorreset in class CountIteratorjava.io.IOException
public boolean skipToDocument(int document)
throws java.io.IOException
CountIterator
skipToDocument in class CountIteratorjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||