Interface SuggestionEventRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<SuggestionEvent,String>, org.springframework.data.elasticsearch.repository.ElasticsearchRepository<SuggestionEvent,String>, org.springframework.data.repository.PagingAndSortingRepository<SuggestionEvent,String>, org.springframework.data.repository.Repository<SuggestionEvent,String>

public interface SuggestionEventRepository extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<SuggestionEvent,String>
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    deleteByCreationDateBetween(long from, long to)
     
    long
    deleteByExpiryDateBetween(long from, long to)
     
     
    org.springframework.data.domain.Page<SuggestionEvent>
    findByTopic(String topic, org.springframework.data.domain.Pageable pageable)
     

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

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, save, saveAll

    Methods inherited from interface org.springframework.data.elasticsearch.repository.ElasticsearchRepository

    searchSimilar

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

    findAll, findAll
  • Method Details

    • findByTopic

      Iterable<SuggestionEvent> findByTopic(String topic)
    • findByTopic

      org.springframework.data.domain.Page<SuggestionEvent> findByTopic(String topic, org.springframework.data.domain.Pageable pageable)
    • deleteByExpiryDateBetween

      long deleteByExpiryDateBetween(long from, long to)
    • deleteByCreationDateBetween

      long deleteByCreationDateBetween(long from, long to)