Package org.h2.index
Class VirtualTableCursor
- java.lang.Object
-
- org.h2.index.VirtualTableCursor
-
-
Constructor Summary
Constructors Constructor Description VirtualTableCursor(VirtualTableIndex index, SearchRow first, SearchRow last, ResultInterface result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rowget()Get the complete current row.SearchRowgetSearchRow()Get the current row.booleannext()Skip to the next row if one is available.private booleannextImpl()Skip to the next row if one is available.booleanprevious()Skip to the previous row if one is available.
-
-
-
Field Detail
-
index
private final VirtualTableIndex index
-
first
private final SearchRow first
-
last
private final SearchRow last
-
result
private final ResultInterface result
-
values
Value[] values
-
row
Row row
-
-
Constructor Detail
-
VirtualTableCursor
VirtualTableCursor(VirtualTableIndex index, SearchRow first, SearchRow last, ResultInterface result)
- Parameters:
index- indexfirst- first rowlast- last rowresult- the result
-
-
Method Detail
-
get
public Row get()
Description copied from interface:CursorGet the complete current row. All column are available.
-
getSearchRow
public SearchRow 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
-
-