Package org.tmatesoft.sqljet.core.map
Interface ISqlJetMapIterator
-
- All Known Subinterfaces:
ISqlJetMapCursor,ISqlJetMapIndexCursor,ISqlJetMapTableCursor
- All Known Implementing Classes:
SqlJetMapCursor,SqlJetMapIndexCursor,SqlJetMapTableCursor
public interface ISqlJetMapIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleaneof()Tests whether this cursor is positioned behind the last record.booleanfirst()Goes to the first record.booleanlast()Goes to the last record.booleannext()Goes to the next record.booleanprevious()Goes to the previous record.
-
-
-
Method Detail
-
eof
boolean eof() throws SqlJetExceptionTests whether this cursor is positioned behind the last record.- Returns:
- true if the cursor is not on a record and fields can't be read.
- Throws:
SqlJetException
-
first
boolean first() throws SqlJetExceptionGoes to the first record.- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
last
boolean last() throws SqlJetExceptionGoes to the last record.- Returns:
- true if there is at least one record.
- Throws:
SqlJetException
-
next
boolean next() throws SqlJetExceptionGoes to the next record.- Returns:
- true if there is at least one record and end of cursor is not reached yet
- Throws:
SqlJetException
-
previous
boolean previous() throws SqlJetExceptionGoes to the previous record.- Returns:
- true if there is at least one record and begin of cursor is not reached yet
- Throws:
SqlJetException
-
-