Interface RedisDocumentRepository<T,ID>

All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,ID>, org.springframework.data.keyvalue.repository.KeyValueRepository<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.query.QueryByExampleExecutor<T>, org.springframework.data.repository.Repository<T,ID>
All Known Implementing Classes:
SimpleRedisDocumentRepository

@NoRepositoryBean public interface RedisDocumentRepository<T,ID> extends org.springframework.data.keyvalue.repository.KeyValueRepository<T,ID>, org.springframework.data.repository.query.QueryByExampleExecutor<T>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    deleteById(ID id, redis.clients.jedis.json.Path path)
     
     
    <F> Iterable<F>
     
     
    org.springframework.data.domain.Page<ID>
    getIds(org.springframework.data.domain.Pageable pageable)
    Returns a Page of ids meeting the paging restriction provided in the Pageable object.
    <S extends T>
    S
    update(S entity)
     
    void
    updateField(T entity, MetamodelField<T,?> field, Object value)
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findAll, findAll, findBy, findOne
  • Method Details

    • getIds

      Iterable<ID> getIds()
    • getIds

      org.springframework.data.domain.Page<ID> getIds(org.springframework.data.domain.Pageable pageable)
      Returns a Page of ids meeting the paging restriction provided in the Pageable object.
      Parameters:
      pageable - encapsulates pagination information
      Returns:
      a page of ids
    • deleteById

      void deleteById(ID id, redis.clients.jedis.json.Path path)
    • updateField

      void updateField(T entity, MetamodelField<T,?> field, Object value)
    • getFieldsByIds

      <F> Iterable<F> getFieldsByIds(Iterable<ID> ids, MetamodelField<T,F> field)
    • getExpiration

      Long getExpiration(ID id)
    • bulkLoad

      Iterable<T> bulkLoad(String file) throws IOException
      Throws:
      IOException
    • update

      <S extends T> S update(S entity)