Annotation Interface QuerydslPredicate
Annotation to customize the binding of HTTP request parameters to a Querydsl
Predicate in Spring MVC handler methods.- Since:
- 1.11
- Author:
- Christoph Strobl, Oliver Gierke
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends QuerydslBinderCustomizer>To customize the way individual properties' values should be bound to the predicate aQuerydslBinderCustomizercan be specified here.Class<?>The root type to create thePredicate.
-
Element Details
-
root
Class<?> rootThe root type to create thePredicate. Specify this explicitly if the type is not contained in the controller method's return type.- Returns:
- Default:
- java.lang.Object.class
-
bindings
Class<? extends QuerydslBinderCustomizer> bindingsTo customize the way individual properties' values should be bound to the predicate aQuerydslBinderCustomizercan be specified here. We'll try to obtain a Spring bean of this type but fall back to a plain instantiation if no bean is found in the currentBeanFactory.- Returns:
- Default:
- org.springframework.data.querydsl.binding.QuerydslBinderCustomizer.class
-