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
 boolean eof()
          Tests whether this cursor is positioned behind the last record.
 boolean first()
          Goes to the first record.
 boolean last()
          Goes to the last record.
 boolean next()
          Goes to the next record.
 boolean previous()
          Goes to the previous record.
 

Method Detail

eof

boolean eof()
            throws SqlJetException
Tests 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 SqlJetException
Goes to the first record.

Returns:
true if there is at least one record.
Throws:
SqlJetException

last

boolean last()
             throws SqlJetException
Goes to the last record.

Returns:
true if there is at least one record.
Throws:
SqlJetException

next

boolean next()
             throws SqlJetException
Goes 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 SqlJetException
Goes to the previous record.

Returns:
true if there is at least one record and begin of cursor is not reached yet
Throws:
SqlJetException