Class QuerydslKeyValueRepository<T,ID>
java.lang.Object
org.springframework.data.keyvalue.repository.support.SimpleKeyValueRepository<T,ID>
org.springframework.data.keyvalue.repository.support.QuerydslKeyValueRepository<T,ID>
- Type Parameters:
T
- the domain type to manageID
- the identifier type of the domain type
- All Implemented Interfaces:
KeyValueRepository<T,
,ID> QuerydslPredicateExecutor<T>
,CrudRepository<T,
,ID> ListCrudRepository<T,
,ID> ListPagingAndSortingRepository<T,
,ID> PagingAndSortingRepository<T,
,ID> Repository<T,
ID>
@Deprecated
public class QuerydslKeyValueRepository<T,ID>
extends SimpleKeyValueRepository<T,ID>
implements QuerydslPredicateExecutor<T>
Deprecated.
- Author:
- Christoph Strobl, Oliver Gierke, Thomas Darimont, Mark Paluch
-
Constructor Summary
ConstructorDescriptionQuerydslKeyValueRepository
(EntityInformation<T, ID> entityInformation, KeyValueOperations operations) Deprecated.QuerydslKeyValueRepository
(EntityInformation<T, ID> entityInformation, KeyValueOperations operations, EntityPathResolver resolver) Deprecated.Creates a newQuerydslKeyValueRepository
for the givenEntityInformation
,KeyValueOperations
andEntityPathResolver
. -
Method Summary
Modifier and TypeMethodDescriptionlong
count
(com.querydsl.core.types.Predicate predicate) Deprecated.boolean
exists
(com.querydsl.core.types.Predicate predicate) Deprecated.findAll
(com.querydsl.core.types.OrderSpecifier<?>... orders) Deprecated.findAll
(com.querydsl.core.types.Predicate predicate) Deprecated.findAll
(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) Deprecated.Deprecated.Deprecated.<S extends T,
R>
RfindBy
(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) Deprecated.findOne
(com.querydsl.core.types.Predicate predicate) Deprecated.Methods inherited from class org.springframework.data.keyvalue.repository.support.SimpleKeyValueRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAll, findAll, findAllById, findById, save, saveAll
-
Constructor Details
-
QuerydslKeyValueRepository
public QuerydslKeyValueRepository(EntityInformation<T, ID> entityInformation, KeyValueOperations operations) Deprecated.- Parameters:
entityInformation
- must not be null.operations
- must not be null.
-
QuerydslKeyValueRepository
public QuerydslKeyValueRepository(EntityInformation<T, ID> entityInformation, KeyValueOperations operations, EntityPathResolver resolver) Deprecated.Creates a newQuerydslKeyValueRepository
for the givenEntityInformation
,KeyValueOperations
andEntityPathResolver
.- Parameters:
entityInformation
- must not be null.operations
- must not be null.resolver
- must not be null.
-
-
Method Details
-
findOne
Deprecated.- Specified by:
findOne
in interfaceQuerydslPredicateExecutor<T>
-
findAll
Deprecated.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
-
findAll
public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders) Deprecated.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
-
findAll
Deprecated.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
-
findAll
Deprecated.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
-
findAll
Deprecated.- Specified by:
findAll
in interfaceQuerydslPredicateExecutor<T>
-
count
public long count(com.querydsl.core.types.Predicate predicate) Deprecated.- Specified by:
count
in interfaceQuerydslPredicateExecutor<T>
-
exists
public boolean exists(com.querydsl.core.types.Predicate predicate) Deprecated.- Specified by:
exists
in interfaceQuerydslPredicateExecutor<T>
-
findBy
public <S extends T,R> R findBy(com.querydsl.core.types.Predicate predicate, Function<FluentQuery.FetchableFluentQuery<S>, R> queryFunction) Deprecated.- Specified by:
findBy
in interfaceQuerydslPredicateExecutor<T>
-
QuerydslKeyValuePredicateExecutor
instead.