JAVA-5068Needs Review

Simplify Iterable API interface hierarchy to eliminate method duplication

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 i

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
Internal
Labels
Tags and classification
tech-debt