public interface RangePredicateFieldSetContext extends MultiFieldPredicateFieldSetContext<RangePredicateFieldSetContext>
Modifier and Type | Method and Description |
---|---|
RangePredicateTerminalContext |
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.
|
RangePredicateTerminalContext |
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.
|
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).
|
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.
|
boostedTo
default RangePredicateFieldSetContext orField(String absoluteFieldPath)
See RangePredicateContext.onField(String)
for more information on targeted 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 on targeted fields.
absoluteFieldPaths
- The absolute paths (from the document root) of the targeted fields.this
, for method chaining.RangePredicateContext.onFields(String...)
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 there for more information.
Lower bound is included by default in the range.RangePredicateTerminalContext 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 there for more information.
Lower bound is included by default in the range.RangePredicateTerminalContext 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 there 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.