Package io.meeds.deeds.storage
Interface DeedTenantEventRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<DeedTenantEvent,,String> org.springframework.data.elasticsearch.repository.ElasticsearchRepository<DeedTenantEvent,,String> org.springframework.data.repository.PagingAndSortingRepository<DeedTenantEvent,,String> org.springframework.data.repository.Repository<DeedTenantEvent,String>
public interface DeedTenantEventRepository
extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<DeedTenantEvent,String>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByDateLessThan(Instant minus) org.springframework.data.domain.Page<DeedTenantEvent>findByConsumersNotOrderByDateDesc(String clientName, org.springframework.data.domain.Pageable ofSize) findByDateGreaterThanEqualAndConsumersNotOrderByDateAsc(Instant lastEventScanDate, String clientName) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAllMethods inherited from interface org.springframework.data.elasticsearch.repository.ElasticsearchRepository
searchSimilarMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByDateGreaterThanEqualAndConsumersNotOrderByDateAsc
List<DeedTenantEvent> findByDateGreaterThanEqualAndConsumersNotOrderByDateAsc(Instant lastEventScanDate, String clientName) -
findByConsumersNotOrderByDateDesc
org.springframework.data.domain.Page<DeedTenantEvent> findByConsumersNotOrderByDateDesc(String clientName, org.springframework.data.domain.Pageable ofSize) -
deleteByDateLessThan
-