|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cursor
A cursor is a helper object to iterate through an index. For indexes are sorted (such as the b tree index), it can iterate to the very end of the index. For other indexes that don't support that (such as a hash index), only one row is returned. The cursor is initially positioned before the first row, that means next() must be called before accessing data.
Method Summary | |
---|---|
Row |
get()
Get the complete current row. |
SearchRow |
getSearchRow()
Get the current row. |
boolean |
next()
Skip to the next row if one is available. |
boolean |
previous()
Skip to the previous row if one is available. |
Method Detail |
---|
Row get()
SearchRow getSearchRow()
boolean next()
boolean previous()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |