public interface RangePredicateToStep
| Modifier and Type | Method and Description |
|---|---|
default RangePredicateLastLimitExcludeStep |
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. |
RangePredicateLastLimitExcludeStep |
to(Object value,
ValueConvert convert)
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. |
default RangePredicateLastLimitExcludeStep to(Object value)
from call.
This method will apply DSL converters to value before Hibernate Search attempts to interpret it as a field value.
See ValueConvert.YES.
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 (RangePredicateLimitsStep.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 ValueConvert.YES for more information.
The upper bound is included in the range by default,
but can be excluded by calling RangePredicateLimitExcludeStep.excludeLimit() on the next step.RangePredicateLastLimitExcludeStep to(Object value, ValueConvert convert)
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 (RangePredicateLimitsStep.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 and on the dslConverter parameter.
See ValueConvert for more information.
The upper bound is included in the range by default,
but can be excluded by calling RangePredicateLimitExcludeStep.excludeLimit() on the next step.convert - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value.
See ValueConvert for more information.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.