[JAVA-5068] Simplify Iterable API interface hierarchy to eliminate method duplication Created: 12/Jul/23  Updated: 06/Dec/23

Status: Backlog
Project: Java Driver
Component/s: Internal
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Slav Babanin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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.


Generated at Thu Feb 08 09:03:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.