|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.galagosearch.core.index.IndexReader.Iterator
public class IndexReader.Iterator
| Method Summary | |
|---|---|
long |
getDataEnd()
|
long |
getDataStart()
|
long |
getFilePosition()
Returns the byte offset of the end of this block. |
java.lang.String |
getKey()
Returns the key associated with the current inverted list. |
long |
getValueEnd()
Returns the byte offset of the end of the current inverted list, relative to the start of the whole inverted file. |
long |
getValueLength()
Returns the length of the value, in bytes. |
long |
getValueStart()
Returns the byte offset of the beginning of the current inverted list, relative to the start of the whole inverted file. |
org.galagosearch.tupleflow.DataStream |
getValueStream()
Returns the value as a buffered stream. |
java.lang.String |
getValueString()
Returns the value as a string. |
boolean |
isDone()
Returns true if no more keys remain to be read. |
boolean |
nextKey()
Advances to the next key in the index. |
void |
skipTo(byte[] key)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void skipTo(byte[] key)
throws java.io.IOException
java.io.IOExceptionpublic boolean isDone()
public long getFilePosition()
public java.lang.String getKey()
public org.galagosearch.tupleflow.DataStream getValueStream()
throws java.io.IOException
java.io.IOException
public long getValueLength()
throws java.io.IOException
java.io.IOException
public java.lang.String getValueString()
throws java.io.IOException
java.io.IOExceptionpublic long getValueStart()
public long getDataStart()
public long getDataEnd()
public long getValueEnd()
public boolean nextKey()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||