@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
.Modifier and Type | Method and Description |
---|---|
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. |
com.querydsl.core.types.Predicate bind(T path, Collection<? extends S> value)
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.path
- Path
to the property. Will not be null.value
- the value that should be bound. Will not be null or empty.Predicate
.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.