Interface MatchPredicateFieldStep<SR,N extends MatchPredicateFieldMoreStep<?,?>>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NTarget the given field in the match predicate.default <T> MatchPredicateFieldMoreGenericStep<?, ?, T, MatchPredicateFieldReference<? super SR, T>> field(MatchPredicateFieldReference<? super SR, T> fieldReference) Target the given field in the match predicate.Target the given fields in the match predicate.<T> MatchPredicateFieldMoreGenericStep<?, ?, T, MatchPredicateFieldReference<? super SR, T>> fields(MatchPredicateFieldReference<? super SR, T>... fieldReferences) Target the given fields in the match predicate.
-
Method Details
-
field
Target the given field in the match predicate.Multiple fields may be targeted by the same predicate: the predicate will match if any targeted field matches.
When targeting multiple fields, those fields must have compatible types. Please refer to the reference documentation for more information.
- Parameters:
fieldPath- The path to the index field to apply the predicate on.- Returns:
- The next step.
-
fields
Target the given fields in the match predicate.Equivalent to
field(String)followed by multiple calls toMatchPredicateFieldMoreGenericStep.field(Object), the only difference being that calls toMultiFieldPredicateFieldBoostStep.boost(float)and other field-specific settings on the returned step will only need to be done once and will apply to all the fields passed to this method.- Parameters:
fieldPaths- The paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
-
field
default <T> MatchPredicateFieldMoreGenericStep<?,?, fieldT, MatchPredicateFieldReference<? super SR, T>> (MatchPredicateFieldReference<? super SR, T> fieldReference) Target the given field in the match predicate.Multiple fields may be targeted by the same predicate: the predicate will match if any targeted field matches.
When targeting multiple fields, those fields must have compatible types. Please refer to the reference documentation for more information.
- Parameters:
fieldReference- The field reference representing a definition of the index field to apply the predicate on.- Returns:
- The next step.
-
fields
<T> MatchPredicateFieldMoreGenericStep<?,?, fieldsT, MatchPredicateFieldReference<? super SR, T>> (MatchPredicateFieldReference<? super SR, T>... fieldReferences) Target the given fields in the match predicate.Equivalent to
field(String)followed by multiple calls toMatchPredicateFieldMoreGenericStep.field(Object), the only difference being that calls toMultiFieldPredicateFieldBoostStep.boost(float)and other field-specific settings on the returned step will only need to be done once and will apply to all the fields passed to this method.- Parameters:
fieldReferences- The field references representing paths to the index fields to apply the predicate on.- Returns:
- The next step.
- See Also:
-