Skip to content

Commit 710770e

Browse files
committed
DATAMONGO-784 - Polishing.
Add JavaDoc for compareValue. Original pull request: #414.
1 parent e631e2d commit 710770e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperation.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ public ProjectionOperationBuilder size() {
619619
/**
620620
* Generates a {@code $cmp} expression (compare to) that compares the value of the field to a given value or field.
621621
*
622+
* @param compareValue compare value or a {@link Field} object.
622623
* @return never {@literal null}.
623624
* @since 1.10
624625
*/
@@ -629,6 +630,7 @@ public ProjectionOperationBuilder cmp(Object compareValue) {
629630
/**
630631
* Generates a {@code $eq} expression (equal) that compares the value of the field to a given value or field.
631632
*
633+
* @param compareValue compare value or a {@link Field} object.
632634
* @return never {@literal null}.
633635
* @since 1.10
634636
*/
@@ -639,6 +641,7 @@ public ProjectionOperationBuilder eq(Object compareValue) {
639641
/**
640642
* Generates a {@code $gt} expression (greater than) that compares the value of the field to a given value or field.
641643
*
644+
* @param compareValue compare value or a {@link Field} object.
642645
* @return never {@literal null}.
643646
* @since 1.10
644647
*/
@@ -650,6 +653,7 @@ public ProjectionOperationBuilder gt(Object compareValue) {
650653
* Generates a {@code $gte} expression (greater than equal) that compares the value of the field to a given value or
651654
* field.
652655
*
656+
* @param compareValue compare value or a {@link Field} object.
653657
* @return never {@literal null}.
654658
* @since 1.10
655659
*/
@@ -660,6 +664,7 @@ public ProjectionOperationBuilder gte(Object compareValue) {
660664
/**
661665
* Generates a {@code $lt} expression (less than) that compares the value of the field to a given value or field.
662666
*
667+
* @param compareValue compare value or a {@link Field} object.
663668
* @return never {@literal null}.
664669
* @since 1.10
665670
*/
@@ -671,6 +676,7 @@ public ProjectionOperationBuilder lt(Object compareValue) {
671676
* Generates a {@code $lte} expression (less than equal) that compares the value of the field to a given value or
672677
* field.
673678
*
679+
* @param compareValue the compare value or a {@link Field} object.
674680
* @return never {@literal null}.
675681
* @since 1.10
676682
*/
@@ -681,6 +687,7 @@ public ProjectionOperationBuilder lte(Object compareValue) {
681687
/**
682688
* Generates a {@code $ne} expression (not equal) that compares the value of the field to a given value or field.
683689
*
690+
* @param compareValue compare value or a {@link Field} object.
684691
* @return never {@literal null}.
685692
* @since 1.10
686693
*/

0 commit comments

Comments
 (0)