Class ReduceIndex.FetchingCursor

  • All Implemented Interfaces:
    org.h2.index.Cursor
    Enclosing class:
    ReduceIndex

    protected class ReduceIndex.FetchingCursor
    extends Object
    implements org.h2.index.Cursor
    Fetching cursor.
    • Constructor Detail

      • FetchingCursor

        public FetchingCursor​(org.h2.result.SearchRow first,
                              org.h2.result.SearchRow last,
                              Iterator<org.h2.result.Row> stream)
        Parameters:
        first - Lower bound.
        last - Upper bound.
        stream - Stream of all the rows from remote nodes.
    • Method Detail

      • next

        public boolean next()
        Specified by:
        next in interface org.h2.index.Cursor
      • 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
      • previous

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