Top Description Fields Constructors Methods
org.h2.index

pack-priv Class DualCursor

extends Object
implements Cursor
Class Inheritance
All Implemented Interfaces
org.h2.index.Cursor
Imports
org.h2.message.DbException, org.h2.result.Row, .SearchRow, org.h2.value.Value

The cursor implementation for the DUAL index.

Field Summary

Modifier and TypeField and Description
private Row

Constructor Summary

AccessConstructor and Description
pack-priv

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

currentRowback to summary
private Row currentRow

Constructor Detail

DualCursorback to summary
pack-priv DualCursor()

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