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
Modifier and TypeMethodDescriptionfindByDateBetween(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, saveAllMethods inherited from interface org.springframework.data.elasticsearch.repository.ElasticsearchRepository
searchSimilarMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll, findAll
-
Method Details
-
findByDateBetween
@Cacheable(cacheNames="meedRates") List<MeedExchangeRate> findByDateBetween(LocalDate from, LocalDate to) -
save
- Specified by:
savein interfaceorg.springframework.data.repository.CrudRepository<MeedExchangeRate,LocalDate>
-