java.lang.Object
com.google.cloud.spring.data.firestore.SimpleFirestoreReactiveRepository<T>
- All Implemented Interfaces:
FirestoreReactiveRepository<T>
, org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
, org.springframework.data.repository.Repository<T,String>
- Since:
- 1.2
-
Constructor Summary
Constructors
-
Method Summary
reactor.core.publisher.Mono<Long>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
deleteAll(org.reactivestreams.Publisher entityStream)
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
deleteById(org.reactivestreams.Publisher idPublisher)
reactor.core.publisher.Mono<Boolean>
reactor.core.publisher.Mono<Boolean>
existsById(org.reactivestreams.Publisher idPublisher)
reactor.core.publisher.Flux<T>
reactor.core.publisher.Flux<T>
reactor.core.publisher.Flux<T>
reactor.core.publisher.Mono<T>
reactor.core.publisher.Mono<T>
<S extends T>
reactor.core.publisher.Mono<S>
<S extends T>
reactor.core.publisher.Flux<S>
<S extends T>
reactor.core.publisher.Flux<S>
saveAll(org.reactivestreams.Publisher<S> entityStream)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SimpleFirestoreReactiveRepository
-
Method Details
-
save
public <S extends T> reactor.core.publisher.Mono<S> save(S entity)
- Specified by:
save
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
saveAll
public <S extends T> reactor.core.publisher.Flux<S> saveAll(Iterable<S> entities)
- Specified by:
saveAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
saveAll
public <S extends T> reactor.core.publisher.Flux<S> saveAll(org.reactivestreams.Publisher<S> entityStream)
- Specified by:
saveAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
findById
public reactor.core.publisher.Mono<T> findById(String id)
- Specified by:
findById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
findById
public reactor.core.publisher.Mono<T> findById(org.reactivestreams.Publisher<String> idPublisher)
- Specified by:
findById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
existsById
public reactor.core.publisher.Mono<Boolean> existsById(String id)
- Specified by:
existsById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
existsById
public reactor.core.publisher.Mono<Boolean> existsById(org.reactivestreams.Publisher idPublisher)
- Specified by:
existsById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
findAll
public reactor.core.publisher.Flux<T> findAll()
- Specified by:
findAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
findAllById
public reactor.core.publisher.Flux<T> findAllById(Iterable<String> iterable)
- Specified by:
findAllById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
findAllById
public reactor.core.publisher.Flux<T> findAllById(org.reactivestreams.Publisher<String> idStream)
- Specified by:
findAllById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
count
public reactor.core.publisher.Mono<Long> count()
- Specified by:
count
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteById
public reactor.core.publisher.Mono<Void> deleteById(String id)
- Specified by:
deleteById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteById
public reactor.core.publisher.Mono<Void> deleteById(org.reactivestreams.Publisher idPublisher)
- Specified by:
deleteById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
delete
public reactor.core.publisher.Mono<Void> delete(Object entity)
- Specified by:
delete
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteAll
public reactor.core.publisher.Mono<Void> deleteAll(Iterable entities)
- Specified by:
deleteAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteAll
public reactor.core.publisher.Mono<Void> deleteAll(org.reactivestreams.Publisher entityStream)
- Specified by:
deleteAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteAll
public reactor.core.publisher.Mono<Void> deleteAll()
- Specified by:
deleteAll
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>
-
deleteAllById
- Specified by:
deleteAllById
in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>