Top Description Fields Constructors Methods
org.h2.index

public Class LinkedCursor

extends Object
implements Cursor
Class Inheritance
All Implemented Interfaces
org.h2.index.Cursor
Imports
java.sql.PreparedStatement, .ResultSet, .SQLException, org.h2.engine.SessionLocal, org.h2.message.DbException, org.h2.result.Row, .SearchRow, org.h2.table.TableLink, org.h2.value.ValueToObjectConverter2

The cursor implementation for the linked index.

Field Summary

Modifier and TypeField and Description
private Row
private final PreparedStatement
private final ResultSet
private final SessionLocal
private final String
private final TableLink

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
public Row
get()

Implements org.h2.index.Cursor.get.

Get the complete current row.

public SearchRow
getSearchRow()

Implements org.h2.index.Cursor.getSearchRow.

Get the current row.

public boolean
next()

Implements org.h2.index.Cursor.next.

Skip to the next row if one is available.

public boolean
previous()

Implements org.h2.index.Cursor.previous.

Skip to the previous row if one is available.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

currentback to summary
private Row current
prepback to summary
private final PreparedStatement prep
rsback to summary
private final ResultSet rs
sessionback to summary
private final SessionLocal session
sqlback to summary
private final String sql

Constructor Detail

Method Detail

getback to summary
public Row get()

Implements org.h2.index.Cursor.get.

Doc from org.h2.index.Cursor.get.

Get the complete current row. All column are available.

Returns:Row

the complete row

Annotations
@Override
getSearchRowback to summary
public SearchRow getSearchRow()

Implements org.h2.index.Cursor.getSearchRow.

Doc from org.h2.index.Cursor.getSearchRow.

Get the current row. Only the data for indexed columns is available in this row.

Returns:SearchRow

the search row

Annotations
@Override
nextback to summary
public boolean next()

Implements org.h2.index.Cursor.next.

Doc from org.h2.index.Cursor.next.

Skip to the next row if one is available.

Returns:boolean

true if another row is available

Annotations
@Override
previousback to summary
public boolean previous()

Implements org.h2.index.Cursor.previous.

Doc from org.h2.index.Cursor.previous.

Skip to the previous row if one is available. No filtering is made here.

Returns:boolean

true if another row is available

Annotations
@Override