Class GridH2Cursor

  • All Implemented Interfaces:
    org.h2.index.Cursor

    public class GridH2Cursor
    extends Object
    implements org.h2.index.Cursor
    H2 Cursor implementation.
    • 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:
        get in interface org.h2.index.Cursor
      • getSearchRow

        public org.h2.result.SearchRow getSearchRow()
        Specified by:
        getSearchRow in interface org.h2.index.Cursor
      • next

        public boolean next()
        Specified by:
        next in interface org.h2.index.Cursor
      • previous

        public boolean previous()
        Specified by:
        previous in interface org.h2.index.Cursor