Interface MatchIdPredicateMatchingStep<N extends MatchIdPredicateMatchingMoreStep<?,?>>

Type Parameters:
N - The type of the next step.
All Known Subinterfaces:
MatchIdPredicateMatchingMoreStep<S,N>

public interface MatchIdPredicateMatchingStep<N extends MatchIdPredicateMatchingMoreStep<?,?>>
The step in a "match id" predicate definition where the IDs to match can be set.
  • Method Details

    • matching

      default N matching(Object value)
      Target the identifier with the given id.

      If used multiple times, it will target any of the specified values.

      Parameters:
      value - the value of the id we want to match.
      Returns:
      The next step.
      See Also:
    • matching

      @Deprecated default N matching(Object value, ValueConvert convert)
      Deprecated.
      Target the identifier with the given id.

      If used multiple times, it will target any of the specified values.

      Parameters:
      value - the value of the id we want to match.
      convert - Controls how the value should be converted before Hibernate Search attempts to interpret it as an identifier value. See ValueConvert for more information.
      Returns:
      The next step.
      See Also:
    • matching

      N matching(Object value, ValueModel valueModel)
      Target the identifier with the given id.

      If used multiple times, it will target any of the specified values.

      Parameters:
      value - the value of the id we want to match.
      valueModel - The model value, determines how the value should be converted before Hibernate Search attempts to interpret it as an identifier value. See ValueModel for more information.
      Returns:
      The next step.
      See Also:
    • matchingAny

      default N matchingAny(Collection<?> values)
      Target the identifiers matching any of the values in a collection.
      Parameters:
      values - the collection of identifiers to match.
      Returns:
      The next step.
    • matchingAny

      @Deprecated default N matchingAny(Collection<?> values, ValueConvert convert)
      Deprecated.
      Target the identifiers matching any of the values in a collection.
      Parameters:
      values - the collection of identifiers to match.
      convert - Controls how the value should be converted before Hibernate Search attempts to interpret it as an identifier value. See ValueConvert for more information.
      Returns:
      The next step.
    • matchingAny

      default N matchingAny(Collection<?> values, ValueModel valueModel)
      Target the identifiers matching any of the values in a collection.
      Parameters:
      values - the collection of identifiers to match.
      valueModel - The model value, determines how the value should be converted before Hibernate Search attempts to interpret it as an identifier value. See ValueModel for more information.
      Returns:
      The next step.