@FunctionalInterface public interface OptionalValueBinding<T extends com.querydsl.core.types.Path<? extends S>,S>
OptionalValueBinding
creates a Predicate
out of given Path
and value. Used for specific
parameter treatment in QuerydslBindings
.Modifier and Type | Method and Description |
---|---|
Optional<com.querydsl.core.types.Predicate> |
bind(T path,
Optional<? extends S> value)
Returns the predicate to be applied to the given
Path for the given value. |
Optional<com.querydsl.core.types.Predicate> bind(T path, Optional<? extends S> value)
Path
for the given value. The given value will be the
first the first one provided for the given path and converted into the expected type.path
- Path
to the property. Will not be null.value
- the value that should be bound. Will not be null.Predicate
.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.