Class IndexData.EntryCursor
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.IndexData.EntryCursor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEntry(Object[] row)Repositions the cursor so that the previous row will be the first entry <= the given row.voidafterLast()voidbeforeEntry(Object[] row)Repositions the cursor so that the next row will be the first entry >= the given row.voidbeforeFirst()IndexData.EntrygetFirstEntry()Returns the first entry (exclusive) as defined by this cursor.IndexDatagetIndexData()IndexData.EntrygetLastEntry()Returns the last entry (exclusive) as defined by this cursor.IndexData.EntrygetNextEntry()IndexData.EntrygetPreviousEntry()booleanisUpToDate()Returnstrueif this cursor is up-to-date with respect to its index.voidreset()StringtoString()
-
-
-
Method Detail
-
getIndexData
public IndexData getIndexData()
-
getFirstEntry
public IndexData.Entry getFirstEntry()
Returns the first entry (exclusive) as defined by this cursor.
-
getLastEntry
public IndexData.Entry getLastEntry()
Returns the last entry (exclusive) as defined by this cursor.
-
isUpToDate
public boolean isUpToDate()
Returnstrueif this cursor is up-to-date with respect to its index.
-
reset
public void reset()
-
beforeFirst
public void beforeFirst()
-
afterLast
public void afterLast()
-
beforeEntry
public void beforeEntry(Object[] row) throws IOException
Repositions the cursor so that the next row will be the first entry >= the given row.- Throws:
IOException
-
afterEntry
public void afterEntry(Object[] row) throws IOException
Repositions the cursor so that the previous row will be the first entry <= the given row.- Throws:
IOException
-
getNextEntry
public IndexData.Entry getNextEntry() throws IOException
- Returns:
- valid entry if there was a next entry,
#getLastEntryotherwise - Throws:
IOException
-
getPreviousEntry
public IndexData.Entry getPreviousEntry() throws IOException
- Returns:
- valid entry if there was a next entry,
#getFirstEntryotherwise - Throws:
IOException
-
-