|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.index.SingleRowCursor
public class SingleRowCursor
A cursor with at most one row.
Constructor Summary | |
---|---|
SingleRowCursor(Row row)
Create a new cursor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleRowCursor(Row row)
row
- - the single row (if null then cursor is empty)Method Detail |
---|
public Row get()
Cursor
get
in interface Cursor
public SearchRow getSearchRow()
Cursor
getSearchRow
in interface Cursor
public boolean next()
Cursor
next
in interface Cursor
public boolean previous()
Cursor
previous
in interface Cursor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |