Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Kotlin Bulk Write API #1591

Merged
merged 5 commits into from
Jan 3, 2025
Merged

Conversation

vbabanin
Copy link
Member

@vbabanin vbabanin commented Jan 2, 2025

  • Add sync and coroutine Bulk Write API.
  • Enable unified spec tests.

Primary review: @katcharov
Secondary (optional): @stIncMale

JAVA-5532

- Add sync and coroutine Bulk Write API.
- Enable unified spec tests.

JAVA-5532
@vbabanin vbabanin self-assigned this Jan 2, 2025
Comment on lines +320 to +322
* Executes a client-level bulk write operation. This method is functionally equivalent to
* [bulkWrite(models, options)][bulkWrite] with the
* [default options][ClientBulkWriteOptions.clientBulkWriteOptions].
Copy link
Member Author

@vbabanin vbabanin Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kotlin does not support referencing methods with parameters, as noted here: KT-15984 and in their Kotlin Documentation.

Note that KDoc does not have any syntax for resolving overloaded members in links. Since Kotlin's documentation generation tool puts the documentation for all overloads of a function on the same page, identifying a specific overloaded function is not required for the link to work.

Therefore, links in KDoc are written with additional descriptive text to clarify the context of the reference.

@vbabanin vbabanin marked this pull request as ready for review January 3, 2025 06:56
Copy link
Contributor

@katcharov katcharov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I did not check or diff the docs, since they were pasted in.

@vbabanin vbabanin merged commit 397cd1d into mongodb:JAVA-4586_bulk-write Jan 3, 2025
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants