public interface RangePredicateFieldSetContext extends MultiFieldPredicateFieldSetContext<RangePredicateFieldSetContext>
| Modifier and Type | Method and Description |
|---|---|
default RangePredicateLimitTerminalContext |
above(Object value)
Require at least one of the targeted fields to be "higher than" the given value,
with no limit as to how high it can be.
|
RangePredicateLimitTerminalContext |
above(Object value,
DslConverter dslConverter)
Require at least one of the targeted fields to be "higher than" the given value,
with no limit as to how high it can be.
|
default RangePredicateLimitTerminalContext |
below(Object value)
Require at least one of the targeted fields to be "lower than" the given value,
with no limit as to how low it can be.
|
RangePredicateLimitTerminalContext |
below(Object value,
DslConverter dslConverter)
Require at least one of the targeted fields to be "lower than" the given value,
with no limit as to how low it can be.
|
default RangePredicateFromContext |
from(Object value)
Require at least one of the targeted fields to be "higher than" the given value,
and "lower than" another value (to be provided in following calls).
|
RangePredicateFromContext |
from(Object value,
DslConverter dslConverter)
Require at least one of the targeted fields to be "higher than" the given value,
and "lower than" another value (to be provided in following calls).
|
default RangePredicateFieldSetContext |
orField(String absoluteFieldPath)
Target the given field in the range predicate,
as an alternative to the already-targeted fields.
|
RangePredicateFieldSetContext |
orFields(String... absoluteFieldPaths)
Target the given fields in the range predicate,
as an alternative to the already-targeted fields.
|
boostedTodefault RangePredicateFieldSetContext orField(String absoluteFieldPath)
See RangePredicateContext.onField(String) for more information about targeting fields.
absoluteFieldPath - The absolute path (from the document root) of the targeted field.this, for method chaining.RangePredicateContext.onField(String)RangePredicateFieldSetContext orFields(String... absoluteFieldPaths)
See RangePredicateContext.onFields(String...) for more information about targeting fields.
absoluteFieldPaths - The absolute paths (from the document root) of the targeted fields.this, for method chaining.RangePredicateContext.onFields(String...)default RangePredicateFromContext from(Object value)
This syntax is essentially used like this: .from( lowerBound ).to( upperBound ).
value - The lower bound of the range. May be null, in which case the range has no lower bound
and the upper bound (passed to RangePredicateFromContext.to(Object)) must not be null.
The signature of this method defines this parameter as an Object,
but a specific type is expected depending on the targeted field.
See DslConverter.ENABLED for more information.
Lower bound is included by default in the range.RangePredicateFromContext from(Object value, DslConverter dslConverter)
This syntax is essentially used like this: .from( lowerBound ).to( upperBound ).
value - The lower bound of the range. May be null, in which case the range has no lower bound
and the upper bound (passed to RangePredicateFromContext.to(Object)) must not be 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 DslConverter for more information.dslConverter - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value.
See DslConverter for more information.
Lower bound is included by default in the range.default RangePredicateLimitTerminalContext above(Object value)
value - The lower bound of the range. Must not be null.
The signature of this method defines this parameter as an Object,
but a specific type is expected depending on the targeted field.
See DslConverter.ENABLED for more information.
Lower bound is included by default in the range.RangePredicateLimitTerminalContext above(Object value, DslConverter dslConverter)
value - The lower bound of the range. Must not be 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 DslConverter for more information.dslConverter - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value.
See DslConverter for more information.
Lower bound is included by default in the range.default RangePredicateLimitTerminalContext below(Object value)
value - The upper bound of the range. Must not be null.
The signature of this method defines this parameter as an Object,
but a specific type is expected depending on the targeted field.
See DslConverter.ENABLED for more information.
Upper bound is included by default in the range.RangePredicateLimitTerminalContext below(Object value, DslConverter dslConverter)
value - The upper bound of the range. Must not be 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 DslConverter for more information.dslConverter - Controls how the value should be converted before Hibernate Search attempts to interpret it as a field value.
See DslConverter for more information.
Upper bound is included by default in the range.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.