diff --git a/java/working-with-cql/query-api.md b/java/working-with-cql/query-api.md index e7f61c100..264a0347e 100644 --- a/java/working-with-cql/query-api.md +++ b/java/working-with-cql/query-api.md @@ -1474,8 +1474,14 @@ These comparison operators are supported: + + + + - + - + - + - - + @@ -1564,9 +1560,21 @@ GT + + + + + + @@ -1580,9 +1588,7 @@ LT - + @@ -1596,7 +1602,7 @@ LE -
Operator +
+ CAP Java + - Predicate + CDL Description @@ -1488,11 +1494,9 @@ These comparison operators are supported:
EQ= -EQ - - Test if this value equals a given value. NULL values might be treated as unknown resulting in a three-valued logic as in SQL. + Test if this value equals a given value. NULL values might be treated as unknown resulting in a three-valued logic as in SQL. Select.from("bookshop.Books") @@ -1502,11 +1506,9 @@ EQ
NE<> -NE - - Test if this value is NOT equal to a given value. NULL values might be treated as unknown resulting in a three-valued logic as in SQL. + Test if this value is NOT equal to a given value. NULL values might be treated as unknown resulting in a three-valued logic as in SQL. Select.from("bookshop.Books") @@ -1516,11 +1518,9 @@ NE
IS== -IS - - Test if this value equals a given value. NULL values are treated as any other value. + Test if this value equals a given value. NULL values are treated as any other value (Boolean logic). @@ -1532,11 +1532,9 @@ IS
IS NOT!= -IS NOT - - Test if this value is NOT equal to a given value. NULL values are treated as any other value. + Test if this value is NOT equal to a given value. NULL values are treated as any other value (Boolean logic). @@ -1548,9 +1546,7 @@ IS NOT
-GT -GT> Test if this value is greater than a given value.
GE>= -LT + Test if this value is greater than or equal to a given value. + +Select.from("bookshop.Books") + .where(b -> b.get("stock") + .ge(5)); + +
LT< Test if this value is less than a given value.
-LE -LE<= Test if this value is less than or equal to a given value.
+ BETWEEN