Christoph Strobl
fc41793d5d
Add support for $dateDiff aggregation operator.
...
Closes : #3713
Original pull request: #3748 .
2021-08-25 11:01:17 +02:00
Christoph Strobl
afef243634
Add support for $dateAdd aggregation operator.
...
Closes : #3713
Original pull request: #3748 .
2021-08-25 11:01:00 +02:00
Mark Paluch
869b88702d
Polishing.
...
Fix typo in reference docs.
See #3758
2021-08-25 10:15:13 +02:00
Ryan Gibb
aca403c112
Fix a typo in MongoConverter javadoc.
...
Original pull request: #3758 .
2021-08-25 10:14:20 +02:00
Mark Paluch
df0372eee1
Polishing.
...
Rename AngularDimension to AngularUnit. Tweak Javadoc. Simplify tests. Update reference docs.
See: #3710 , #3714 , #3728 , #3730
Original pull request: #3755 .
2021-08-24 16:18:17 +02:00
Christoph Strobl
c4c6267d91
Add support for $cos and $cosh aggregation operators.
...
Closes : #3710
Original pull request: #3755 .
2021-08-24 16:18:17 +02:00
Christoph Strobl
73d5886aae
Add support for $tan and $tanh aggregation operators.
...
Closes : #3730
Original pull request: #3755 .
2021-08-24 16:18:17 +02:00
Christoph Strobl
0db47169cf
Add support for $sin and $sinh aggregation operators.
...
Closes : #3728
Original pull request: #3755 .
2021-08-24 16:18:14 +02:00
Christoph Strobl
ec16b873b7
Add support for $degreesToRadians aggregation operator.
...
Closes : #3714
Original pull request: #3755 .
2021-08-24 16:16:01 +02:00
Mark Paluch
2a3a4cf030
Polishing.
...
Fix method order from earlier merges. Add missing Javadoc. Simplify tests. Update documentation.
See #3721
Original pull request: #3746 .
2021-08-24 15:01:54 +02:00
Christoph Strobl
df2b2a2f68
Add support for $integral aggregation operator.
...
Closes : #3721
Original pull request: #3746 .
2021-08-24 15:01:49 +02:00
Mark Paluch
fd0a402c99
Polishing.
...
See #3720
Original pull request: #3745 .
2021-08-24 14:34:43 +02:00
Christoph Strobl
6bd0f758fe
Extend support for $ifNull to cover multiple conditions.
...
Closes : #3720
Original pull request: #3745 .
2021-08-24 14:34:43 +02:00
Mark Paluch
10c0203605
Polishing.
...
Accept window units in addition to plain strings. Document operator.
See: #3716
Original pull request: #3742 .
2021-08-24 14:30:52 +02:00
Christoph Strobl
82b33331fc
Add support for $derivative aggregation operator.
...
Closes : #3716
Original pull request: #3742 .
2021-08-24 14:30:52 +02:00
Mark Paluch
75b5a548b6
Polishing.
...
Fix asterisk callouts.
See #3786
2021-08-24 11:23:42 +02:00
Mark Paluch
0c481feb72
Extract Aggregation Framework and GridFS docs in own source files.
...
Closes #3786
2021-08-24 11:09:06 +02:00
Mark Paluch
c8a791d367
Polishing.
...
Make fields final where possible. Update javadoc. Simplify assertions. Update reference docs.
See: #3715 , See #3717 , See #3727
Original pull request: #3741 .
2021-08-24 11:07:40 +02:00
Christoph Strobl
510028a834
Add support for $shift aggregation Operator.
...
Closes : #3727
Original pull request: #3741 .
2021-08-24 11:07:31 +02:00
Christoph Strobl
1a86761e2e
Add support for $documentNumber aggregation operator.
...
Closes : #3717
Original pull request: #3741 .
2021-08-24 11:07:22 +02:00
Christoph Strobl
30da62181f
Add support for $rank and $denseRank aggregation operators.
...
Closes : #3715
Original pull request: #3741 .
2021-08-24 11:06:59 +02:00
Christoph Strobl
a977b8a790
Change visibility of Reactive/MongoRepositoryFactoryBean setters.
...
Setters of the FactoryBean should be public.
Closes : #3779
Original pull request: #3780 .
2021-08-24 10:26:44 +02:00
Christoph Strobl
f3e067f59f
Add support for $expMovingAvg aggregation operator.
...
The SpEL support for this one is missing due to the differing argument map (N, alpha).
Closes : #3718
Original pull request: #3744 .
2021-08-23 14:44:14 +02:00
Christoph Strobl
dbfd4e5c62
Polishing.
...
Reformat code.
See #3712
Original pull request: #3740 .
2021-08-23 14:29:16 +02:00
Christoph Strobl
c574e5cf8a
Add support for $covariancePop and $covarianceSamp aggregation expressions.
...
Closes : #3712
Original pull request: #3740 .
2021-08-23 14:25:41 +02:00
Mark Paluch
f9f4c4621b
Polishing.
...
Update javadoc and add assertions.
See #3711
Original pull request: #3739 .
2021-08-23 11:21:35 +02:00
Christoph Strobl
23254c10dc
Add support for $setWindowFields aggregation stage.
...
Add a SetWindowFieldsOperation to the aggregation framework.
The builder API allows fluent declaration of the aggregation stage as shown in the sample below.
SetWindowFieldsOperation.builder()
.partitionByField("state")
.sortBy(Sort.by(Direction.ASC, "date"))
.output(AccumulatorOperators.valueOf("qty").sum())
.within(Windows.documents().fromUnbounded().toCurrent().build())
.as("cumulativeQuantityForState")
.build();
Closes #3711
Original pull request: #3739 .
2021-08-23 11:21:35 +02:00
Christoph Strobl
255491c446
Upgrade to MongoDB 4.3.1 Drivers.
...
Closes : #3778
2021-08-23 10:49:22 +02:00
Christoph Strobl
1d943d62a3
Fix build on Java 16.
...
Make sure to use an initialized MappingContext.
Closes : #3749
Original pull request: #3752 .
2021-08-23 10:29:35 +02:00
Jens Schauder
7538b1a1a5
After release cleanups.
...
See #3736
2021-08-12 15:16:23 +02:00
Jens Schauder
828c074167
Prepare next development iteration.
...
See #3736
2021-08-12 15:16:21 +02:00
Jens Schauder
87ab1ac48c
Release version 3.3 M2 (2021.1.0).
...
See #3736
3.3.0-M2
2021-08-12 15:03:17 +02:00
Jens Schauder
454afd9877
Prepare 3.3 M2 (2021.1.0).
...
See #3736
2021-08-12 15:02:56 +02:00
Mark Paluch
45971b212c
Polishing.
...
Move off deprecated classes. Add unpaged testcase for query by example.
Original Pull Request: #3754
2021-07-26 15:16:05 +02:00
Mark Paluch
68370c16fb
Run unpaged query using Pageable.unpaged() through QuerydslMongoPredicateExecutor.findAll(…).
...
We now correctly consider unpaged queries if the Pageable is unpaged.
Closes : #3751
Original Pull Request: #3754
2021-07-26 15:15:37 +02:00
Christoph Strobl
d2c9b47366
Fix issues related to Querydsl 5.0 upgrade.
...
Remove overridden methods no longer available in public api.
Closes : #3738
2021-07-22 09:03:10 +02:00
Jens Schauder
4d7ee0e741
After release cleanups.
...
See #3631
2021-07-16 14:19:58 +02:00
Jens Schauder
e7f3a2436d
Prepare next development iteration.
...
See #3631
2021-07-16 14:19:56 +02:00
Jens Schauder
4ef1ff6aff
Release version 3.3 M1 (2021.1.0).
...
See #3631
3.3.0-M1
2021-07-16 14:09:25 +02:00
Jens Schauder
b6ad32d7d4
Prepare 3.3 M1 (2021.1.0).
...
See #3631
2021-07-16 14:08:59 +02:00
Jens Schauder
e875f9ea33
Updated changelog.
...
See #3631
2021-07-16 14:08:43 +02:00
Jens Schauder
9db9d16cf8
Updated changelog.
...
See #3681
2021-07-16 10:48:16 +02:00
Mark Paluch
f00991dc29
Polishing.
...
Rename Granularities/Granularity to Granularity and GranularityDefinition to proivide a more natural wording towards using predefined granularities.
Validate presence of referenced properties through the TimeSeries annotation.
Tweak Javadoc, reformat code, add unit tests.
See #3731
Original pull request: #3732 .
2021-07-16 09:44:43 +02:00
Christoph Strobl
bacbd7133e
Add support for creating Time Series collection.
...
Introduce time series to CollectionOptions and add dedicated TimeSeries annotation to derive values from.
Closes #3731
Original pull request: #3732 .
2021-07-16 09:44:35 +02:00
Mark Paluch
f38f6d67ab
Polishing.
...
Support DBObject and Map that as source for entity materialization and map conversion.
See #3702
Original pull request: #3704 .
2021-07-15 10:00:33 +02:00
Christoph Strobl
3f27e8e152
Fix raw document conversion in Collection like properties.
...
Along the lines make sure to convert map like structures correctly if they do not come as a Document, eg. cause they got converted to a plain Map in a post load, pre convert event.
Closes #3702
Original pull request: #3704 .
2021-07-15 10:00:31 +02:00
Christoph Strobl
23177fef0c
Custom Converter should also be applicable for simple types.
...
This commit fixes a regression that prevented custom converters from being applied to types considered store native ones.
Original pull request: #3703 .
Fixes #3670
2021-07-15 08:54:31 +02:00
Mark Paluch
f3b90c2b8a
Polishing.
...
Reformat code. Tweak javadoc. Reject wildcard projection usage on properties with a MappingException. Omit wildcard projections when declared on document types that are used as subdocument.
See #3225
Original pull request: #3671 .
2021-07-14 15:16:00 +02:00
Christoph Strobl
d57c5a9529
Add support for Wildcard Index.
...
Add WildcardIndexed annotation and the programatic WildcardIndex.
Closes #3225
Original pull request: #3671 .
2021-07-14 15:16:00 +02:00
Mark Paluch
986ea39f90
Upgrade to Querydsl 5.0.
...
Move off our own Querydsl copies, as Querydsl 5.0 ships MongoDB Document API support.
Remove package-private duplicates of Querydsl code.
Introduce SpringDataMongodbQuerySupport to provide a well-formatted toString representation of the actual query.
Original Pull Request: #3674
2021-07-14 10:15:12 +02:00