Skip to content

Add AOT support for dynamic projections, streaming/scroll queries and Meta annotation #4970

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

Closed
wants to merge 56 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented May 14, 2025

rozza and others added 30 commits April 22, 2025 09:35

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Supports range style queries for encrypted fields

Closes: #4185
Original Pull Request: #4885

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
This commit decouples queryable encryption from explicit encryption and introduces the Queryable annotation to represent different query types like range and equality.
Additionally it removes value conversion from range encryption and fixes update mapping of range encrypted fields.

Original Pull Request: #4885

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Original Pull Request: #4885

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Original Pull Request: #4885

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes #4837

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes #4870

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See #4836

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes #4940

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes: #4886

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes: #4874

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
This commit fixes an issue where id properties annotated with MongoId had not been converted into the desired target type when inserting a collection of objects instead a single one.

Resolves: #4944
Original pull request: #4945

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Initialize MongoId also for reactive insertAll(…).

See: #4944
Original pull request: #4945

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Guard tests for encryption functionality.

Original Pull Request: #4885

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Initial Support for generating repository source code at build time.

Closes: #4939

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
See: #4939

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
- Introduce AOT fragment base class.
- Refactor Delete execution to be reusable.
- Add support for updates.
- Add support for aggregations.
- Move types to repository package.
- Update documentation.

See: #4939

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Transition nullable annotations previously missed to jspecify.

See: #4874

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
JMX support has been removed but unfortunately when merging changes for jspecify the package-info.java file sneaked back in.

See: #4940

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes: #4947

Signed-off-by: Jeff Yemin <jeff.yemin@mongodb.com>

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Remove quantization from VectorSearch docs.

Closes: #4931

Signed-off-by: Alex Bevilacqua <alex@alexbevi.com>

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes #4948

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
…ay ()

- Added methods `byValueAscending()` and `byValueDescending()` to the SortArray class
  to support sorting simple array types (e.g., integers, strings) in ascending and descending order.
- Updated tests to verify the correct functionality of sorting arrays by value.
- Refactored SortArray to handle sorting of simple types without requiring a property for sorting.

For more details, refer to: https://www.mongodb.com/docs/manual/reference/operator/aggregation/sortArray/

Resolves: #4929
Original Pull Request: #4943

Signed-off-by: Ranzy Blessings <ranzyblessings.inbox@gmail.com>

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Add method to provide sorting direction to sort array aggregation.

Related to: #4929
Original Pull Request: #4935

Signed-off-by: Nathan McDonald <nathan.mcdonald@uk.ey.com>

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Update test, since tags, rename method.

Original Pull Requests: #4935 & #4943

Verified

This commit was signed with the committer’s verified signature.
christophstrobl Christoph Strobl
Closes #4951
mp911de and others added 11 commits May 9, 2025 14:18
Closes #4965
Original Pull Request: #4960
See #4956
See #4960
…tadata)` instead of private overload.

Overriding the proper variant of EntityInformation is now possible because we no longer utilize a private method in addition to the public one leading to partial customization of EntityInformation.

Closes #4967
Use weaker test visibility.

See #4967
… Meta annotation.
@mp911de mp911de requested a review from christophstrobl May 14, 2025 09:06
@mp911de mp911de added type: enhancement A general enhancement theme: aot An issue related to Ahead-Of-Time processing labels May 14, 2025
mp911de added 2 commits May 14, 2025 15:18
christophstrobl pushed a commit that referenced this pull request May 15, 2025
christophstrobl pushed a commit that referenced this pull request May 15, 2025
christophstrobl pushed a commit that referenced this pull request May 15, 2025
See: #4939
Original Pull Request: #4970
christophstrobl added a commit that referenced this pull request May 15, 2025
Original Pull Request: #4970
@christophstrobl
Copy link
Member

merged to 5.0.x

@christophstrobl christophstrobl added this to the 5.0 M3 (2025.1.0) milestone May 15, 2025
@mp911de mp911de deleted the hacking/projections-scroll branch May 15, 2025 09:53
mp911de added a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
mp911de added a commit that referenced this pull request May 16, 2025
See: #4939
Original Pull Request: #4970
mp911de pushed a commit that referenced this pull request May 16, 2025
Original Pull Request: #4970
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-Of-Time processing type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants