Package com.redis.om.spring.repository
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 TypeMethodDescriptionvoiddeleteById(ID id, redis.clients.jedis.json.Path path) getExpiration(ID id) <F> Iterable<F>getFieldsByIds(Iterable<ID> ids, MetamodelField<T, F> field) getIds()org.springframework.data.domain.Page<ID>getIds(org.springframework.data.domain.Pageable pageable) Returns aPageof ids meeting the paging restriction provided in thePageableobject.<S extends T>
Supdate(S entity) voidupdateField(T entity, MetamodelField<T, ?> field, Object value) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
getIds
-
getIds
Returns aPageof ids meeting the paging restriction provided in thePageableobject.- Parameters:
pageable- encapsulates pagination information- Returns:
- a page of ids
-
deleteById
-
updateField
-
getFieldsByIds
-
getExpiration
-
bulkLoad
- Throws:
IOException
-
update
-