@@ -334,15 +334,8 @@ public PropertyQueryCondition<ENTITY> between(Date lowerBoundary, Date upperBoun |
334 | 334 | } |
335 | 335 |
|
336 | 336 | /** |
337 | | - * Creates an "equal ('=')" condition for this property. |
338 | | - * <p> |
339 | | - * Case sensitive when matching results, e.g. {@code equal("example")} only matches "example", but not "Example". |
340 | | - * <p> |
341 | | - * Use {@link #equal(String, StringOrder) equal(value, StringOrder.CASE_INSENSITIVE)} to also match |
342 | | - * if case is different. |
343 | | - * <p> |
344 | | - * Note: Use a case sensitive condition to utilize an {@link io.objectbox.annotation.Index @Index} |
345 | | - * on {@code property}, dramatically speeding up look-up of results. |
| 337 | + * Creates an "equal ('=')" condition for this property |
| 338 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
346 | 339 | * |
347 | 340 | * @see #equal(String, StringOrder) |
348 | 341 | */ |
@@ -352,28 +345,14 @@ public PropertyQueryCondition<ENTITY> equal(String value) { |
352 | 345 |
|
353 | 346 | /** |
354 | 347 | * Creates an "equal ('=')" condition for this property. |
355 | | - * <p> |
356 | | - * Set {@code order} to {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to also match |
357 | | - * if case is not equal. E.g. {@code equal("example", StringOrder.CASE_INSENSITIVE)} |
358 | | - * matches "example" and "Example". |
359 | | - * <p> |
360 | | - * Note: Use a case sensitive condition to utilize an {@link io.objectbox.annotation.Index @Index} |
361 | | - * on {@code property}, dramatically speeding up look-up of results. |
362 | 348 | */ |
363 | 349 | public PropertyQueryCondition<ENTITY> equal(String value, StringOrder order) { |
364 | 350 | return new StringCondition<>(this, StringCondition.Operation.EQUAL, value, order); |
365 | 351 | } |
366 | 352 |
|
367 | 353 | /** |
368 | | - * Creates a "not equal ('<>')" condition for this property. |
369 | | - * <p> |
370 | | - * Case sensitive when matching results, e.g. {@code notEqual("example")} excludes only "example", but not "Example". |
371 | | - * <p> |
372 | | - * Use {@link #notEqual(String, StringOrder) notEqual(value, StringOrder.CASE_INSENSITIVE)} to also exclude |
373 | | - * if case is different. |
374 | | - * <p> |
375 | | - * Note: Use a case sensitive condition to utilize an {@link io.objectbox.annotation.Index @Index} |
376 | | - * on {@code property}, dramatically speeding up look-up of results. |
| 354 | + * Creates a "not equal ('<>')" condition for this property |
| 355 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
377 | 356 | * |
378 | 357 | * @see #notEqual(String, StringOrder) |
379 | 358 | */ |
@@ -383,23 +362,14 @@ public PropertyQueryCondition<ENTITY> notEqual(String value) { |
383 | 362 |
|
384 | 363 | /** |
385 | 364 | * Creates a "not equal ('<>')" condition for this property. |
386 | | - * <p> |
387 | | - * Set {@code order} to {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to also exclude |
388 | | - * if case is different. E.g. {@code notEqual("example", StringOrder.CASE_INSENSITIVE)} |
389 | | - * excludes both "example" and "Example". |
390 | | - * <p> |
391 | | - * Note: Use a case sensitive condition to utilize an {@link io.objectbox.annotation.Index @Index} |
392 | | - * on {@code property}, dramatically speeding up look-up of results. |
393 | 365 | */ |
394 | 366 | public PropertyQueryCondition<ENTITY> notEqual(String value, StringOrder order) { |
395 | 367 | return new StringCondition<>(this, StringCondition.Operation.NOT_EQUAL, value, order); |
396 | 368 | } |
397 | 369 |
|
398 | 370 | /** |
399 | | - * Creates a "greater than ('>')" condition for this property. |
400 | | - * <p> |
401 | | - * Case sensitive when matching results. Use the overload and pass |
402 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 371 | + * Creates a "greater than ('>')" condition for this property |
| 372 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
403 | 373 | * |
404 | 374 | * @see #greater(String, StringOrder) |
405 | 375 | */ |
@@ -422,10 +392,8 @@ public PropertyQueryCondition<ENTITY> greaterOrEqual(String value, StringOrder o |
422 | 392 | } |
423 | 393 |
|
424 | 394 | /** |
425 | | - * Creates a "less than ('<')" condition for this property. |
426 | | - * <p> |
427 | | - * Case sensitive when matching results. Use the overload and pass |
428 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 395 | + * Creates a "less than ('<')" condition for this property |
| 396 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
429 | 397 | * |
430 | 398 | * @see #less(String, StringOrder) |
431 | 399 | */ |
@@ -448,8 +416,8 @@ public PropertyQueryCondition<ENTITY> lessOrEqual(String value, StringOrder orde |
448 | 416 | } |
449 | 417 |
|
450 | 418 | /** |
451 | | - * Case sensitive when matching results. Use the overload and pass |
452 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 419 | + * Creates a contains condition for this property |
| 420 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
453 | 421 | * <p> |
454 | 422 | * Note: for a String array property, use {@link #containsElement} instead. |
455 | 423 | * |
@@ -472,10 +440,10 @@ private void checkNotStringArray() { |
472 | 440 | } |
473 | 441 |
|
474 | 442 | /** |
475 | | - * For a String array property, matches if at least one element equals the given value. |
476 | | - * <p> |
477 | | - * Case sensitive when matching results. Use the overload and pass |
478 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 443 | + * For a String array property, matches if at least one element equals the given value |
| 444 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
| 445 | + * |
| 446 | + * @see #containsElement(String, StringOrder) |
479 | 447 | */ |
480 | 448 | public PropertyQueryCondition<ENTITY> containsElement(String value) { |
481 | 449 | checkIsStringArray(); |
@@ -494,8 +462,7 @@ private void checkIsStringArray() { |
494 | 462 | } |
495 | 463 |
|
496 | 464 | /** |
497 | | - * Case sensitive when matching results. Use the overload and pass |
498 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 465 | + * Creates a starts with condition using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
499 | 466 | * |
500 | 467 | * @see #startsWith(String, StringOrder) |
501 | 468 | */ |
@@ -508,8 +475,7 @@ public PropertyQueryCondition<ENTITY> startsWith(String value, StringOrder order |
508 | 475 | } |
509 | 476 |
|
510 | 477 | /** |
511 | | - * Case sensitive when matching results. Use the overload and pass |
512 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 478 | + * Creates an ends with condition using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
513 | 479 | * |
514 | 480 | * @see #endsWith(String, StringOrder) |
515 | 481 | */ |
@@ -522,10 +488,8 @@ public PropertyQueryCondition<ENTITY> endsWith(String value, StringOrder order) |
522 | 488 | } |
523 | 489 |
|
524 | 490 | /** |
525 | | - * Creates an "IN (..., ..., ...)" condition for this property. |
526 | | - * <p> |
527 | | - * Case sensitive when matching results. Use the overload and pass |
528 | | - * {@link StringOrder#CASE_INSENSITIVE StringOrder.CASE_INSENSITIVE} to specify that case should be ignored. |
| 491 | + * Creates an "IN (..., ..., ...)" condition for this property |
| 492 | + * using {@link StringOrder#CASE_SENSITIVE StringOrder#CASE_SENSITIVE}. |
529 | 493 | * |
530 | 494 | * @see #oneOf(String[], StringOrder) |
531 | 495 | */ |
|