public class QuerydslKeyValuePredicateExecutor<T> extends Object implements QuerydslPredicateExecutor<T>
| Constructor and Description |
|---|
QuerydslKeyValuePredicateExecutor(EntityInformation<T,?> entityInformation,
KeyValueOperations operations)
Creates a new
QuerydslKeyValuePredicateExecutor for the given EntityInformation. |
QuerydslKeyValuePredicateExecutor(EntityInformation<T,?> entityInformation,
ProjectionFactory projectionFactory,
KeyValueOperations operations,
EntityPathResolver resolver)
Creates a new
QuerydslKeyValuePredicateExecutor for the given EntityInformation, and
EntityPathResolver. |
| Modifier and Type | Method and Description |
|---|---|
long |
count(com.querydsl.core.types.Predicate predicate) |
boolean |
exists(com.querydsl.core.types.Predicate predicate) |
Iterable<T> |
findAll(com.querydsl.core.types.OrderSpecifier<?>... orders) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
com.querydsl.core.types.OrderSpecifier<?>... orders) |
Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
Pageable pageable) |
Iterable<T> |
findAll(com.querydsl.core.types.Predicate predicate,
Sort sort) |
<S extends T,R> |
findBy(com.querydsl.core.types.Predicate predicate,
Function<FluentQuery.FetchableFluentQuery<S>,R> queryFunction) |
Optional<T> |
findOne(com.querydsl.core.types.Predicate predicate) |
protected com.querydsl.collections.AbstractCollQuery<T,?> |
prepareQuery(com.querydsl.core.types.Predicate predicate)
Creates executable query for given
Predicate. |
public QuerydslKeyValuePredicateExecutor(EntityInformation<T,?> entityInformation, KeyValueOperations operations)
QuerydslKeyValuePredicateExecutor for the given EntityInformation.entityInformation - must not be null.operations - must not be null.public QuerydslKeyValuePredicateExecutor(EntityInformation<T,?> entityInformation, ProjectionFactory projectionFactory, KeyValueOperations operations, EntityPathResolver resolver)
QuerydslKeyValuePredicateExecutor for the given EntityInformation, and
EntityPathResolver.entityInformation - must not be null.projectionFactory - must not be null.operations - must not be null.resolver - must not be null.public Optional<T> findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface QuerydslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface QuerydslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QuerydslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, Sort sort)
findAll in interface QuerydslPredicateExecutor<T>public Page<T> findAll(com.querydsl.core.types.Predicate predicate, Pageable pageable)
findAll in interface QuerydslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface QuerydslPredicateExecutor<T>public long count(com.querydsl.core.types.Predicate predicate)
count in interface QuerydslPredicateExecutor<T>public boolean exists(com.querydsl.core.types.Predicate predicate)
exists in interface QuerydslPredicateExecutor<T>public <S extends T,R> R findBy(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>,R> queryFunction)
findBy in interface QuerydslPredicateExecutor<T>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.