Package io.meeds.deeds.storage
Interface MeedExchangeRateRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<MeedExchangeRate,LocalDate>,org.springframework.data.elasticsearch.repository.ElasticsearchRepository<MeedExchangeRate,LocalDate>,org.springframework.data.repository.PagingAndSortingRepository<MeedExchangeRate,LocalDate>,org.springframework.data.repository.Repository<MeedExchangeRate,LocalDate>
public interface MeedExchangeRateRepository extends org.springframework.data.elasticsearch.repository.ElasticsearchRepository<MeedExchangeRate,LocalDate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<MeedExchangeRate>findByDateBetween(LocalDate from, LocalDate to)<S extends MeedExchangeRate>
Ssave(S entity)-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, saveAll
-
-
-
-
Method Detail
-
findByDateBetween
@Cacheable(cacheNames="meedRates") List<MeedExchangeRate> findByDateBetween(LocalDate from, LocalDate to)
-
save
@CacheEvict(cacheNames="meedRates", allEntries=true) <S extends MeedExchangeRate> S save(S entity)- Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<MeedExchangeRate,LocalDate>
-
-