Package org.h2.mvstore.db
Class MVPrimaryIndex.MVStoreCursor
- java.lang.Object
-
- org.h2.mvstore.db.MVPrimaryIndex.MVStoreCursor
-
- All Implemented Interfaces:
Cursor
- Enclosing class:
- MVPrimaryIndex
static final class MVPrimaryIndex.MVStoreCursor extends java.lang.Object implements Cursor
A cursor.
-
-
Constructor Summary
Constructors Constructor Description MVStoreCursor(TransactionMap.TMIterator<java.lang.Long,SearchRow,java.util.Map.Entry<java.lang.Long,SearchRow>> it)
-
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.booleanprevious()Skip to the previous row if one is available.
-
-
-
Field Detail
-
it
private final TransactionMap.TMIterator<java.lang.Long,SearchRow,java.util.Map.Entry<java.lang.Long,SearchRow>> it
-
current
private java.util.Map.Entry<java.lang.Long,SearchRow> current
-
row
private Row row
-
-
Constructor Detail
-
MVStoreCursor
public MVStoreCursor(TransactionMap.TMIterator<java.lang.Long,SearchRow,java.util.Map.Entry<java.lang.Long,SearchRow>> it)
-
-
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.
-
-