Module spring.data.commons
Class QuerydslBindings.TypeBinder<T>
java.lang.Object
org.springframework.data.querydsl.binding.QuerydslBindings.TypeBinder<T>
- Enclosing class:
- QuerydslBindings
A binder for types.
- Author:
- Oliver Gierke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P extends com.querydsl.core.types.Path<T>>
voidall(MultiValueBinding<P, T> binding) Configures the givenMultiValueBindingto be used for the current type.<P extends com.querydsl.core.types.Path<T>>
voidfirst(SingleValueBinding<P, T> binding) <P extends com.querydsl.core.types.Path<T>>
voidfirstOptional(OptionalValueBinding<P, T> binding) Configures the givenSingleValueBindingto be used for the current type.
-
Constructor Details
-
TypeBinder
-
-
Method Details
-
firstOptional
public <P extends com.querydsl.core.types.Path<T>> void firstOptional(OptionalValueBinding<P, T> binding) Configures the givenSingleValueBindingto be used for the current type.- Parameters:
binding- must not be null.
-
first
-
all
Configures the givenMultiValueBindingto be used for the current type.- Parameters:
binding- must not be null.
-