Interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>
-
- Type Parameters:
N
- The type of the next step.
- All Known Subinterfaces:
MatchPredicateFieldMoreStep<S,N>
public interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>
The step in a "match" predicate definition where the value to match can be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default N
matching(Object value)
Require at least one of the targeted fields to match the given value.N
matching(Object value, ValueConvert convert)
Require at least one of the targeted fields to match the given value.
-
-
-
Method Detail
-
matching
default N matching(Object value)
Require at least one of the targeted fields to match the given value.This method will apply DSL converters to
value
before Hibernate Search attempts to interpret it as a field value. SeeValueConvert.YES
.- Parameters:
value
- The value to match. The signature of this method defines this parameter as anObject
, but a specific type is expected depending on the targeted field. SeeValueConvert.YES
for more information.- Returns:
- The next step.
- See Also:
matching(Object, ValueConvert)
-
matching
N matching(Object value, ValueConvert convert)
Require at least one of the targeted fields to match the given value.- Parameters:
value
- The value to match. The signature of this method defines this parameter as anObject
, but a specific type is expected depending on the targeted field and on thedslConverter
parameter. SeeValueConvert
for more information.convert
- Controls how thevalue
should be converted before Hibernate Search attempts to interpret it as a field value. SeeValueConvert
for more information.- Returns:
- The next step.
- See Also:
ValueConvert
-
-