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 manage
ID - the identifier type of the domain type
All Implemented Interfaces:
KeyValueRepository<T,ID>, org.springframework.data.querydsl.QuerydslPredicateExecutor<T>, org.springframework.data.repository.CrudRepository<T,ID>, org.springframework.data.repository.ListCrudRepository<T,ID>, org.springframework.data.repository.ListPagingAndSortingRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.Repository<T,ID>

@Deprecated public class QuerydslKeyValueRepository<T,ID> extends SimpleKeyValueRepository<T,ID> implements org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
Deprecated.
since 2.6, use QuerydslKeyValuePredicateExecutor instead.
KeyValueRepository implementation capable of executing Predicates using CollQuery.
Author:
Christoph Strobl, Oliver Gierke, Thomas Darimont, Mark Paluch
  • Constructor Details

    • QuerydslKeyValueRepository

      public QuerydslKeyValueRepository(org.springframework.data.repository.core.EntityInformation<T,ID> entityInformation, KeyValueOperations operations)
      Deprecated.
      Creates a new QuerydslKeyValueRepository for the given EntityInformation and KeyValueOperations.
      Parameters:
      entityInformation - must not be null.
      operations - must not be null.
    • QuerydslKeyValueRepository

      public QuerydslKeyValueRepository(org.springframework.data.repository.core.EntityInformation<T,ID> entityInformation, KeyValueOperations operations, org.springframework.data.querydsl.EntityPathResolver resolver)
      Deprecated.
      Creates a new QuerydslKeyValueRepository for the given EntityInformation, KeyValueOperations and EntityPathResolver.
      Parameters:
      entityInformation - must not be null.
      operations - must not be null.
      resolver - must not be null.
  • Method Details

    • findOne

      public Optional<T> findOne(com.querydsl.core.types.Predicate predicate)
      Deprecated.
      Specified by:
      findOne in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findAll

      public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate)
      Deprecated.
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findAll

      public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, com.querydsl.core.types.OrderSpecifier<?>... orders)
      Deprecated.
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findAll

      public Iterable<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort)
      Deprecated.
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findAll

      public org.springframework.data.domain.Page<T> findAll(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)
      Deprecated.
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findAll

      public Iterable<T> findAll(com.querydsl.core.types.OrderSpecifier<?>... orders)
      Deprecated.
      Specified by:
      findAll in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • count

      public long count(com.querydsl.core.types.Predicate predicate)
      Deprecated.
      Specified by:
      count in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • exists

      public boolean exists(com.querydsl.core.types.Predicate predicate)
      Deprecated.
      Specified by:
      exists in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • findBy

      public <S extends T, R> R findBy(com.querydsl.core.types.Predicate predicate, Function<org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>,R> queryFunction)
      Deprecated.
      Specified by:
      findBy in interface org.springframework.data.querydsl.QuerydslPredicateExecutor<T>