public class QuerydslCouchbasePredicateExecutor<T> extends QuerydslPredicateExecutorSupport<T> implements org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
QuerydslPredicateExecutor that allows execution Predicates in various forms.| Constructor and Description |
|---|
QuerydslCouchbasePredicateExecutor(CouchbaseEntityInformation<T,?> entityInformation,
CouchbaseOperations couchbaseOperations)
Creates a new
QuerydslCouchbasePredicateExecutor for the given CouchbaseEntityInformation and
CouchbaseOperations. |
QuerydslCouchbasePredicateExecutor(CouchbaseEntityInformation<T,?> entityInformation,
CouchbaseOperations couchbaseOperations,
org.springframework.data.querydsl.EntityPathResolver resolver)
Creates a new
QuerydslCouchbasePredicateExecutor for the given CouchbaseEntityInformation,
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) |
List<T> |
findAll(com.querydsl.core.types.Predicate predicate) |
List<T> |
findAll(com.querydsl.core.types.Predicate predicate,
com.querydsl.core.types.OrderSpecifier<?>... orders) |
org.springframework.data.domain.Page<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Pageable pageable) |
List<T> |
findAll(com.querydsl.core.types.Predicate predicate,
org.springframework.data.domain.Sort sort) |
<S extends T,R> |
findBy(com.querydsl.core.types.Predicate predicate,
Function<org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>,R> queryFunction) |
Optional<T> |
findOne(com.querydsl.core.types.Predicate predicate) |
cuchbaseSerializer, pathBuilderFor, toOrder, toOrderSpecifiers, typeInformationpublic QuerydslCouchbasePredicateExecutor(CouchbaseEntityInformation<T,?> entityInformation, CouchbaseOperations couchbaseOperations)
QuerydslCouchbasePredicateExecutor for the given CouchbaseEntityInformation and
CouchbaseOperations. Uses the SimpleEntityPathResolver to create an EntityPath for the
given domain class.entityInformation - must not be null.couchbaseOperations - must not be null.public QuerydslCouchbasePredicateExecutor(CouchbaseEntityInformation<T,?> entityInformation, CouchbaseOperations couchbaseOperations, org.springframework.data.querydsl.EntityPathResolver resolver)
QuerydslCouchbasePredicateExecutor for the given CouchbaseEntityInformation,
and EntityPathResolver.entityInformation - must not be null.couchbaseOperations - must not be null.resolver - must not be null.public Optional<T> findOne(com.querydsl.core.types.Predicate predicate)
findOne in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public List<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public Iterable<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public org.springframework.data.domain.Page<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)
findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public long count(com.querydsl.core.types.Predicate predicate)
count in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>public boolean exists(com.querydsl.core.types.Predicate predicate)
exists in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.