Class SimpleFirestoreReactiveRepository<T>

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>

public class SimpleFirestoreReactiveRepository<T> extends Object implements FirestoreReactiveRepository<T>
Since:
1.2
  • Constructor Details

    • SimpleFirestoreReactiveRepository

      public SimpleFirestoreReactiveRepository(FirestoreTemplate firestoreTemplate, Class type)
  • 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

      public reactor.core.publisher.Mono<Void> deleteAllById(Iterable<? extends String> ids)
      Specified by:
      deleteAllById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,String>