Interface SolrCrudRepository<T,ID extends Serializable>
- Type Parameters:
T-ID-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<T,,ID> org.springframework.data.repository.PagingAndSortingRepository<T,,ID> org.springframework.data.repository.Repository<T,,ID> SolrRepository<T,ID>
- All Known Implementing Classes:
SimpleSolrRepository
public interface SolrCrudRepository<T,ID extends Serializable>
extends SolrRepository<T,ID>, org.springframework.data.repository.PagingAndSortingRepository<T,ID>
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAllMethods inherited from interface org.springframework.data.solr.repository.SolrRepository
count
-
Method Details
-
save
Saves a given entity and commits withing givenDuration.- Parameters:
entity- must not be null.- Returns:
- the saved entity will never be null.
- Since:
- 4.0
-
saveAll
Saves all given entities and commits withing givenDuration.- Parameters:
entities- must not be null.- Returns:
- the saved entity will never be null.
- Since:
- 4.0
-