Package org.h2.index
Class ViewCursor
java.lang.Object
org.h2.index.ViewCursor
- All Implemented Interfaces:
Cursor
The cursor implementation of a view index.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionViewCursor
(ViewIndex index, ResultInterface result, SearchRow first, SearchRow last) -
Method Summary
-
Field Details
-
table
-
index
-
result
-
first
-
last
-
current
-
-
Constructor Details
-
ViewCursor
-
-
Method Details
-
get
Description copied from interface:Cursor
Get the complete current row. All column are available. -
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. -
previous
public boolean previous()Description copied from interface:Cursor
Skip to the previous row if one is available. No filtering is made here.
-