Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5068

Simplify Iterable API interface hierarchy to eliminate method duplication

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Internal
    • Labels:

      The Iterable API currently contains duplicative methods in various interfaces, including FindIterable, AggregateIterable, ListIndexesIterable, DistinctIterable, DatabaseIterable, and ChangeStreamIterable. These duplications impact code maintenance and can lead to inconsistencies.

      Introduce internal interfaces and abstract classes, if necessary, to consolidate the duplicative methods and achieve a cleaner design without compromising backward and binary compatibility.  

      The objective is to improve code maintainability and consistency.

            Assignee:
            Unassigned Unassigned
            Reporter:
            slav.babanin@mongodb.com Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: