|
||||||||||
| 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
org.galagosearch.core.index.ExtentIndexReader.Iterator
public class ExtentIndexReader.Iterator
| Constructor Summary | |
|---|---|
ExtentIndexReader.Iterator(IndexReader.Iterator iterator)
|
|
| Method Summary | |
|---|---|
int |
count()
Returns the number of occurrences of this iterator's term in the current document. |
int |
document()
Returns the current document. |
ExtentArray |
extents()
|
java.lang.String |
getRecordString()
|
boolean |
isDone()
Returns true if there is no data left in the list and false otherwise. |
void |
loadIndex()
|
void |
nextDocument()
Moves the iterator to the next document in the list. |
boolean |
nextRecord()
|
void |
reset()
Resets the position of this iterator to the start of the list. |
| Methods inherited from class org.galagosearch.core.retrieval.structured.ExtentIterator |
|---|
skipToDocument |
| 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 ExtentIndexReader.Iterator(IndexReader.Iterator iterator)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void loadIndex()
throws java.io.IOException
java.io.IOException
public void reset()
throws java.io.IOException
CountIterator
reset in interface StructuredIteratorreset in class ExtentIteratorjava.io.IOExceptionpublic java.lang.String getRecordString()
getRecordString in interface IndexIterator
public boolean nextRecord()
throws java.io.IOException
nextRecord in interface IndexIteratorjava.io.IOException
public void nextDocument()
throws java.io.IOException
CountIterator
nextDocument in class ExtentIteratorjava.io.IOExceptionpublic int document()
CountIterator
document in class ExtentIteratorpublic int count()
CountIterator
count in class ExtentIteratorpublic ExtentArray extents()
extents in class ExtentIteratorpublic boolean isDone()
CountIterator
isDone in class ExtentIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||