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
Modifier and TypeMethodDescriptiondefault N
Require at least one of the targeted fields to match the given value.default N
matching
(Object value, ValueConvert convert) Deprecated.matching
(Object value, ValueModel valueModel) Require at least one of the targeted fields to match the given value.
-
Method Details
-
matching
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. SeeValueModel.MAPPING
.- 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. SeeValueModel.MAPPING
for more information.- Returns:
- The next step.
- See Also:
-
matching
Deprecated.Usematching(Object, ValueModel)
instead.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:
-
matching
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. SeeValueModel
for more information.valueModel
- The model value, determines how thevalue
should be converted before Hibernate Search attempts to interpret it as a field value. SeeValueModel
for more information.- Returns:
- The next step.
- See Also:
-
matching(Object, ValueModel)
instead.