Interface ImportedTickersRepository

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      List<ImportedTicker> findByCurrencyPairOrderByTimestampAsc​(String currencyPair)
      Returns imported tickers with a specific currency pair (ordered by timestamp).
      List<ImportedTicker> findByOrderByTimestampAsc()
      Returns imported tickers (ordered by timestamp).
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
      • Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

        deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findByOrderByTimestampAsc

        List<ImportedTicker> findByOrderByTimestampAsc()
        Returns imported tickers (ordered by timestamp).
        Returns:
        imported tickers
      • findByCurrencyPairOrderByTimestampAsc

        List<ImportedTicker> findByCurrencyPairOrderByTimestampAsc​(String currencyPair)
        Returns imported tickers with a specific currency pair (ordered by timestamp).
        Parameters:
        currencyPair - currency pair
        Returns:
        imported tickers