|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.healthmarketscience.jackcess.IndexData.EntryCursor
public final class IndexData.EntryCursor
Utility class to traverse the entries in the Index. Remains valid in the face of index entry modifications.
Method Summary | |
---|---|
void |
afterEntry(Object[] row)
Repositions the cursor so that the previous row will be the first entry <= the given row. |
void |
afterLast()
|
void |
beforeEntry(Object[] row)
Repositions the cursor so that the next row will be the first entry >= the given row. |
void |
beforeFirst()
|
IndexData.Entry |
getFirstEntry()
Returns the first entry (exclusive) as defined by this cursor. |
IndexData |
getIndexData()
|
IndexData.Entry |
getLastEntry()
Returns the last entry (exclusive) as defined by this cursor. |
IndexData.Entry |
getNextEntry()
|
IndexData.Entry |
getPreviousEntry()
|
boolean |
isUpToDate()
Returns true if this cursor is up-to-date with respect to its
index. |
void |
reset()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public IndexData getIndexData()
public IndexData.Entry getFirstEntry()
public IndexData.Entry getLastEntry()
public boolean isUpToDate()
true
if this cursor is up-to-date with respect to its
index.
public void reset()
public void beforeFirst()
public void afterLast()
public void beforeEntry(Object[] row) throws IOException
IOException
public void afterEntry(Object[] row) throws IOException
IOException
public IndexData.Entry getNextEntry() throws IOException
#getLastEntry
otherwise
IOException
public IndexData.Entry getPreviousEntry() throws IOException
#getFirstEntry
otherwise
IOException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |