[JAVA-718] DBCollection offers bulk insert but not bulk update or save Created: 18/Dec/12  Updated: 24/Jan/14  Resolved: 24/Jan/14

Status: Closed
Project: Java Driver
Component/s: API
Affects Version/s: 2.9.3
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: eHarmony Matching Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates JAVA-1040 2.12: Implement fluent API for bulk w... Closed

 Description   

For the sake of convenience and consistency, it would be nice if the DBCollection API provided uniform sets of overloads for insert, update, and save. In particular, there are insert overloads that can insert many documents at once – presumably more efficiently than an app-level loop – but similar overloads are not available for update or save.



 Comments   
Comment by Jeffrey Yemin [ 24/Jan/14 ]

Duplicates JAVA-1040

Comment by Jeffrey Yemin [ 20/Dec/12 ]

The reason the API looks like this is because the server supports bulk insert at the wire protocol, but not bulk update. The server is likely going to add support for bulk operations in the wire protocol, so any API change we do will piggyback off that.

Generated at Thu Feb 08 08:52:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.