|
||||||||||
| 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.PositionIndexReader.Iterator
public class PositionIndexReader.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()
|
long |
getByteLength()
|
java.lang.String |
getCurrentTerm()
|
java.lang.String |
getRecordString()
|
boolean |
isDone()
Returns true if there is no data left in the list and false otherwise. |
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 |
| Method Detail |
|---|
public java.lang.String getRecordString()
getRecordString in interface IndexIterator
public void reset()
throws java.io.IOException
CountIterator
reset in interface StructuredIteratorreset in class ExtentIteratorjava.io.IOException
public long getByteLength()
throws java.io.IOException
java.io.IOException
public java.lang.String getCurrentTerm()
throws java.io.IOException
java.io.IOException
public void nextDocument()
throws java.io.IOException
CountIterator
nextDocument in class ExtentIteratorjava.io.IOException
public boolean nextRecord()
throws java.io.IOException
nextRecord in interface IndexIteratorjava.io.IOExceptionpublic boolean isDone()
CountIterator
isDone in class ExtentIteratorpublic ExtentArray extents()
extents in class ExtentIteratorpublic int document()
CountIterator
document in class ExtentIteratorpublic int count()
CountIterator
count in class ExtentIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||