Package org.h2.index
Class RangeCursor
- java.lang.Object
-
- org.h2.index.RangeCursor
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
beforeFirst
private long
current
private Row
currentRow
private long
end
private long
start
private long
step
-
Constructor Summary
Constructors Constructor Description RangeCursor(long start, long end, long step)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
beforeFirst
private boolean beforeFirst
-
current
private long current
-
currentRow
private Row currentRow
-
start
private final long start
-
end
private final long end
-
step
private final long step
-
-
Method Detail
-
get
public Row get()
Description copied from interface:Cursor
Get the complete current row. All column are available.
-
getSearchRow
public SearchRow getSearchRow()
Description copied from interface:Cursor
Get the current row. Only the data for indexed columns is available in this row.- Specified by:
getSearchRow
in interfaceCursor
- Returns:
- the search row
-
next
public boolean next()
Description copied from interface:Cursor
Skip to the next row if one is available.
-
-