Skip to content

Commit eddd6a3

Browse files
committed
No effective change - javadoc only
1 parent 91e309d commit eddd6a3

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

src/main/java/com/avaje/ebean/ExpressionList.java

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,12 @@ public interface ExpressionList<T> extends Serializable {
348348
/**
349349
* Path exists - for the given path in a JSON document.
350350
*
351+
* <pre>{@code
352+
*
353+
* where().jsonExists("content", "path.other")
354+
*
355+
* }</pre>
356+
*
351357
* @param propertyName the property that holds a JSON document
352358
* @param path the nested path in the JSON document in dot notation
353359
*/
@@ -356,6 +362,12 @@ public interface ExpressionList<T> extends Serializable {
356362
/**
357363
* Path does not exist - for the given path in a JSON document.
358364
*
365+
* <pre>{@code
366+
*
367+
* where().jsonNotExists("content", "path.other")
368+
*
369+
* }</pre>
370+
*
359371
* @param propertyName the property that holds a JSON document
360372
* @param path the nested path in the JSON document in dot notation
361373
*/
@@ -364,38 +376,74 @@ public interface ExpressionList<T> extends Serializable {
364376
/**
365377
* Equal to expression for the value at the given path in the JSON document.
366378
*
379+
* <pre>{@code
380+
*
381+
* where().jsonEqualTo("content", "path.other", 34)
382+
*
383+
* }</pre>
384+
*
367385
* @param propertyName the property that holds a JSON document
368386
* @param path the nested path in the JSON document in dot notation
369-
* @param value the value used to test equality against the document path's value
387+
* @param value the value used to test against the document path's value
370388
*/
371389
ExpressionList<T> jsonEqualTo(String propertyName, String path, Object value);
372390

373391
/**
374392
* Not Equal to - for the given path in a JSON document.
375393
*
394+
* <pre>{@code
395+
*
396+
* where().jsonNotEqualTo("content", "path.other", 34)
397+
*
398+
* }</pre>
399+
*
376400
* @param propertyName the property that holds a JSON document
377401
* @param path the nested path in the JSON document in dot notation
378-
* @param value the value used to test equality against the document path's value
402+
* @param value the value used to test against the document path's value
379403
*/
380404
ExpressionList<T> jsonNotEqualTo(String propertyName, String path, Object value);
381405

382406
/**
383407
* Greater than - for the given path in a JSON document.
408+
*
409+
* <pre>{@code
410+
*
411+
* where().jsonGreaterThan("content", "path.other", 34)
412+
*
413+
* }</pre>
384414
*/
385415
ExpressionList<T> jsonGreaterThan(String propertyName, String path, Object val);
386416

387417
/**
388418
* Greater than or equal to - for the given path in a JSON document.
419+
*
420+
* <pre>{@code
421+
*
422+
* where().jsonGreaterOrEqual("content", "path.other", 34)
423+
*
424+
* }</pre>
389425
*/
390426
ExpressionList<T> jsonGreaterOrEqual(String propertyName, String path, Object val);
391427

392428
/**
393429
* Less than - for the given path in a JSON document.
430+
*
431+
* <pre>{@code
432+
*
433+
* where().jsonLessThan("content", "path.other", 34)
434+
*
435+
* }</pre>
394436
*/
395437
ExpressionList<T> jsonLessThan(String propertyName, String path, Object val);
396438

397439
/**
398440
* Less than or equal to - for the given path in a JSON document.
441+
*
442+
* <pre>{@code
443+
*
444+
* where().jsonLessOrEqualTo("content", "path.other", 34)
445+
*
446+
* }</pre>
399447
*/
400448
ExpressionList<T> jsonLessOrEqualTo(String propertyName, String path, Object val);
401449

0 commit comments

Comments
 (0)