Package org.h2.index
Class LinkedCursor
- java.lang.Object
-
- org.h2.index.LinkedCursor
-
-
Constructor Summary
Constructors Constructor Description LinkedCursor(TableLink tableLink, java.sql.ResultSet rs, SessionLocal session, java.lang.String sql, java.sql.PreparedStatement prep)
-
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
-
tableLink
private final TableLink tableLink
-
prep
private final java.sql.PreparedStatement prep
-
sql
private final java.lang.String sql
-
session
private final SessionLocal session
-
rs
private final java.sql.ResultSet rs
-
current
private Row current
-
-
Constructor Detail
-
LinkedCursor
LinkedCursor(TableLink tableLink, java.sql.ResultSet rs, SessionLocal session, java.lang.String sql, java.sql.PreparedStatement prep)
-
-
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.
-
-