public class QuerydslPredicateBuilder extends Object
Predicate
out of PropertyValues
.Constructor and Description |
---|
QuerydslPredicateBuilder(ConversionService conversionService,
EntityPathResolver resolver)
|
Modifier and Type | Method and Description |
---|---|
com.querydsl.core.types.Predicate |
getPredicate(TypeInformation<?> type,
MultiValueMap<String,String> values,
QuerydslBindings bindings)
|
static boolean |
isEmpty(com.querydsl.core.types.Predicate predicate)
Returns whether the given
Predicate represents an empty predicate instance. |
public QuerydslPredicateBuilder(ConversionService conversionService, EntityPathResolver resolver)
conversionService
- must not be null.resolver
- can be null.public com.querydsl.core.types.Predicate getPredicate(TypeInformation<?> type, MultiValueMap<String,String> values, QuerydslBindings bindings)
type
- the type to create a predicate for.values
- the values to bind.bindings
- the QuerydslBindings
for the predicate.Predicate
.public static boolean isEmpty(com.querydsl.core.types.Predicate predicate)
Predicate
represents an empty predicate instance.predicate
- BooleanBuilder
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.