Interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>
- Type Parameters:
N- The type of the next step.
- All Superinterfaces:
MatchPredicateMatchingGenericStep<N,Object>
- All Known Subinterfaces:
MatchPredicateFieldMoreStep<S,N>
public interface MatchPredicateMatchingStep<N extends MatchPredicateOptionsStep<?>>
extends MatchPredicateMatchingGenericStep<N,Object>
The step in a "match" predicate definition where the value to match can be set.
-
Method Summary
Modifier and TypeMethodDescriptiondefault NRequire at least one of the targeted fields to match the given value.default Nmatching(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
valuebefore Hibernate Search attempts to interpret it as a field value. SeeValueModel.MAPPING.- Specified by:
matchingin interfaceMatchPredicateMatchingGenericStep<N extends MatchPredicateOptionsStep<?>,Object> - Parameters:
value- The value to match. The signature of this method defines this parameter as anT, but a specific type is expected depending on the targeted field. SeeValueModel.MAPPINGfor 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 thedslConverterparameter. SeeValueConvertfor more information.convert- Controls how thevalueshould be converted before Hibernate Search attempts to interpret it as a field value. SeeValueConvertfor 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 thedslConverterparameter. SeeValueModelfor more information.valueModel- The model value, determines how thevalueshould be converted before Hibernate Search attempts to interpret it as a field value. SeeValueModelfor more information.- Returns:
- The next step.
- See Also:
-
matching(Object, ValueModel)instead.