public interface RangePredicateFromContext
Modifier and Type | Method and Description |
---|---|
default SearchPredicateTerminalContext |
to(Object value)
Require at least one of the targeted fields to be "lower than" the given value,
in addition to being "higher than" the value provided to the
former
call. |
SearchPredicateTerminalContext |
to(Object value,
RangeBoundInclusion inclusion)
Require at least one of the targeted fields to be "lower than" the given value,
in addition to being "higher than" the value provided to the
former
call. |
SearchPredicateTerminalContext to(Object value, RangeBoundInclusion inclusion)
from
call.value
- The upper bound of the range. May be null, in which case the range has no upper bound,
but this is only possible if the lower bound (RangePredicateFieldSetContext.from(Object)
)
was not null.
The signature of this method defines this parameter as an Object
,
but a specific type is expected depending on the targeted field.
See there for more information.inclusion
- Whether the upper bound should be included in or excluded from the range.default SearchPredicateTerminalContext to(Object value)
from
call.
Calling this method is equivalent to calling
.to(value, RangeBoundInclusion.INCLUDED)
value
- The lower bound of the range (included)
(see to(Object, RangeBoundInclusion)
for details about null-ness and type).to(Object, RangeBoundInclusion)
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.