public abstract class InstantLikePropertyDelegate<T extends QBuilder<T>,S> extends EquitablePropertyDelegate<T,S> implements InstantLikeProperty<T,S>
QBuilder.ConditionDelegate| Constructor and Description |
|---|
InstantLikePropertyDelegate(FieldPath field,
T canonical) |
| Modifier and Type | Method and Description |
|---|---|
Condition<T> |
after(S dateTime,
boolean exclusive)
Mandates that the date-like field must be after the provided date
|
Condition<T> |
before(S dateTime,
boolean exclusive)
Mandates that the date-like field must be before the provided date
|
Condition<T> |
between(S after,
boolean exclusiveAfter,
S before,
boolean exclusiveBefore)
Mandates that the date-like field must be within the provided range.
|
protected abstract Instant |
normalize(S dateTime) |
eq, nedoesNotExist, existsgetFieldand, and, bool, condition, condition, doubleNum, enumeration, floatNum, instant, intNum, longNum, or, or, prop, shortNum, stringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteq, nedoesNotExist, existspublic final Condition<T> before(S dateTime, boolean exclusive)
InstantLikePropertypublic final Condition<T> after(S dateTime, boolean exclusive)
InstantLikePropertypublic final Condition<T> between(S after, boolean exclusiveAfter, S before, boolean exclusiveBefore)
InstantLikePropertybetween in interface InstantLikeProperty<T extends QBuilder<T>,S>after - The date-like representation that it should occur after.exclusiveAfter - True if the query should not match the provided date, false if it should.before - The date-like representation that it should occur before.exclusiveBefore - True if the query should not match the provided date, false if it should.Copyright © 2017. All rights reserved.