Interface MultiValueBinding<T extends com.querydsl.core.types.Path<? extends S>,S>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MultiValueBinding<T extends com.querydsl.core.types.Path<? extends S>,S>
MultiValueBinding creates a Predicate out of given Path and collection value. Used for specific parameter treatment in QuerydslBindings.
Since:
1.11
Author:
Oliver Gierke
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<com.querydsl.core.types.Predicate>
    bind(T path, Collection<? extends S> value)
    Returns the predicate to be applied to the given Path for the given collection value, which will contain all values submitted for the path bind.
  • Method Details

    • bind

      Optional<com.querydsl.core.types.Predicate> bind(T path, Collection<? extends S> value)
      Returns the predicate to be applied to the given Path for the given collection value, which will contain all values submitted for the path bind. If a single value was provided only the collection will consist of exactly one element.
      Parameters:
      path - Path to the property. Will not be null.
      value - the value that should be bound. Will not be null or empty.
      Returns:
      can be null, in which case the binding will not be incorporated in the overall Predicate.