Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4484

tighten up semantics of Cursor interface

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      There are some subtle differences in the ways different cursors behave, for example some have matchers and some don't, some may change the return values of functions like indexKey() over the course of iteration, some may support certain operations when they are not ok() while others do not. We could simplify the behaviors, make them more uniform across cursors, and document them so users of the Cursor class know what to expect.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aaron Aaron Staple
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: