Package org.h2.index
Class VirtualTableCursor
java.lang.Object
org.h2.index.VirtualTableCursor
- All Implemented Interfaces:
Cursor
A cursor for a virtual table. This implementation filters the rows (only
returns entries that are larger or equal to "first", and smaller than last or
equal to "last").
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVirtualTableCursor(VirtualTableIndex index, SearchRow first, SearchRow last, ResultInterface result) -
Method Summary
-
Field Details
-
Constructor Details
-
VirtualTableCursor
VirtualTableCursor(VirtualTableIndex index, SearchRow first, SearchRow last, ResultInterface result) - Parameters:
index- indexfirst- first rowlast- last rowresult- the result
-
-
Method Details
-
get
Description copied from interface:CursorGet the complete current row. All column are available. -
getSearchRow
Description copied from interface:CursorGet the current row. Only the data for indexed columns is available in this row.- Specified by:
getSearchRowin interfaceCursor- Returns:
- the search row
-
next
public boolean next()Description copied from interface:CursorSkip to the next row if one is available. -
nextImpl
private boolean nextImpl()Skip to the next row if one is available. This method does not filter.- Returns:
- true if another row is available
-
previous
public boolean previous()Description copied from interface:CursorSkip to the previous row if one is available. No filtering is made here.
-