All Downloads are FREE. Search and download functionalities are using the official Maven repository.

open.source.exchange.repository.asynchronous.InformationExchangeRepoAsync Maven / Gradle / Ivy

package open.source.exchange.repository.asynchronous;

import org.springframework.data.mongodb.repository.Query;
import org.springframework.data.mongodb.repository.ReactiveMongoRepository;
import org.springframework.stereotype.Repository;

import open.source.exchange.entity.InformationExchange;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

@Repository
public interface InformationExchangeRepoAsync extends ReactiveMongoRepository, InformationExchangeRepoAsyncCustom {

	Mono findById(String id);

	@Query("{'events.Begin.value' : {$gte : ?0, $lt : ?1}}")
	Flux findByApiHitsBetween(long fromTimestamp, long tillTimestamp);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy