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
@@ -617,6 +617,7 @@ public ProjectionOperationBuilder size() {
617
617
/**
618
618
* Generates a {@code $cmp} expression (compare to) that compares the value of the field to a given value or field.
619
619
*
620
+
* @param compareValue compare value or a {@link Field} object.
620
621
* @return never {@literal null}.
621
622
* @since 1.10
622
623
*/
@@ -627,6 +628,7 @@ public ProjectionOperationBuilder cmp(Object compareValue) {
627
628
/**
628
629
* Generates a {@code $eq} expression (equal) that compares the value of the field to a given value or field.
629
630
*
631
+
* @param compareValue compare value or a {@link Field} object.
630
632
* @return never {@literal null}.
631
633
* @since 1.10
632
634
*/
@@ -637,6 +639,7 @@ public ProjectionOperationBuilder eq(Object compareValue) {
637
639
/**
638
640
* Generates a {@code $gt} expression (greater than) that compares the value of the field to a given value or field.
639
641
*
642
+
* @param compareValue compare value or a {@link Field} object.
640
643
* @return never {@literal null}.
641
644
* @since 1.10
642
645
*/
@@ -648,6 +651,7 @@ public ProjectionOperationBuilder gt(Object compareValue) {
648
651
* Generates a {@code $gte} expression (greater than equal) that compares the value of the field to a given value or
649
652
* field.
650
653
*
654
+
* @param compareValue compare value or a {@link Field} object.
651
655
* @return never {@literal null}.
652
656
* @since 1.10
653
657
*/
@@ -658,6 +662,7 @@ public ProjectionOperationBuilder gte(Object compareValue) {
658
662
/**
659
663
* Generates a {@code $lt} expression (less than) that compares the value of the field to a given value or field.
660
664
*
665
+
* @param compareValue compare value or a {@link Field} object.
661
666
* @return never {@literal null}.
662
667
* @since 1.10
663
668
*/
@@ -669,6 +674,7 @@ public ProjectionOperationBuilder lt(Object compareValue) {
669
674
* Generates a {@code $lte} expression (less than equal) that compares the value of the field to a given value or
670
675
* field.
671
676
*
677
+
* @param compareValue the compare value or a {@link Field} object.
672
678
* @return never {@literal null}.
673
679
* @since 1.10
674
680
*/
@@ -679,6 +685,7 @@ public ProjectionOperationBuilder lte(Object compareValue) {
679
685
/**
680
686
* Generates a {@code $ne} expression (not equal) that compares the value of the field to a given value or field.
681
687
*
688
+
* @param compareValue compare value or a {@link Field} object.
0 commit comments