You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -619,6 +619,7 @@ public ProjectionOperationBuilder size() {
619
619
/**
620
620
* Generates a {@code $cmp} expression (compare to) that compares the value of the field to a given value or field.
621
621
*
622
+
* @param compareValue compare value or a {@link Field} object.
622
623
* @return never {@literal null}.
623
624
* @since 1.10
624
625
*/
@@ -629,6 +630,7 @@ public ProjectionOperationBuilder cmp(Object compareValue) {
629
630
/**
630
631
* Generates a {@code $eq} expression (equal) that compares the value of the field to a given value or field.
631
632
*
633
+
* @param compareValue compare value or a {@link Field} object.
632
634
* @return never {@literal null}.
633
635
* @since 1.10
634
636
*/
@@ -639,6 +641,7 @@ public ProjectionOperationBuilder eq(Object compareValue) {
639
641
/**
640
642
* Generates a {@code $gt} expression (greater than) that compares the value of the field to a given value or field.
641
643
*
644
+
* @param compareValue compare value or a {@link Field} object.
642
645
* @return never {@literal null}.
643
646
* @since 1.10
644
647
*/
@@ -650,6 +653,7 @@ public ProjectionOperationBuilder gt(Object compareValue) {
650
653
* Generates a {@code $gte} expression (greater than equal) that compares the value of the field to a given value or
651
654
* field.
652
655
*
656
+
* @param compareValue compare value or a {@link Field} object.
653
657
* @return never {@literal null}.
654
658
* @since 1.10
655
659
*/
@@ -660,6 +664,7 @@ public ProjectionOperationBuilder gte(Object compareValue) {
660
664
/**
661
665
* Generates a {@code $lt} expression (less than) that compares the value of the field to a given value or field.
662
666
*
667
+
* @param compareValue compare value or a {@link Field} object.
663
668
* @return never {@literal null}.
664
669
* @since 1.10
665
670
*/
@@ -671,6 +676,7 @@ public ProjectionOperationBuilder lt(Object compareValue) {
671
676
* Generates a {@code $lte} expression (less than equal) that compares the value of the field to a given value or
672
677
* field.
673
678
*
679
+
* @param compareValue the compare value or a {@link Field} object.
674
680
* @return never {@literal null}.
675
681
* @since 1.10
676
682
*/
@@ -681,6 +687,7 @@ public ProjectionOperationBuilder lte(Object compareValue) {
681
687
/**
682
688
* Generates a {@code $ne} expression (not equal) that compares the value of the field to a given value or field.
683
689
*
690
+
* @param compareValue compare value or a {@link Field} object.
0 commit comments