Class GridH2Cursor
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.opt.GridH2Cursor
-
- All Implemented Interfaces:
org.h2.index.Cursor
public class GridH2Cursor extends Object implements org.h2.index.Cursor
H2 Cursor implementation.
-
-
Constructor Summary
Constructors Constructor Description GridH2Cursor(Iterator<? extends org.h2.result.Row> iter)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.h2.result.Rowget()org.h2.result.SearchRowgetSearchRow()booleannext()booleanprevious()
-
-
-
Field Detail
-
EMPTY
public static final org.h2.index.Cursor EMPTY
-
iter
protected Iterator<? extends org.h2.result.Row> iter
-
cur
protected org.h2.result.Row cur
-
-
Constructor Detail
-
GridH2Cursor
public GridH2Cursor(Iterator<? extends org.h2.result.Row> iter)
Constructor.- Parameters:
iter- Rows iterator.
-
-
Method Detail
-
get
public org.h2.result.Row get()
- Specified by:
getin interfaceorg.h2.index.Cursor
-
getSearchRow
public org.h2.result.SearchRow getSearchRow()
- Specified by:
getSearchRowin interfaceorg.h2.index.Cursor
-
next
public boolean next()
- Specified by:
nextin interfaceorg.h2.index.Cursor
-
previous
public boolean previous()
- Specified by:
previousin interfaceorg.h2.index.Cursor
-
-