Class LcR2dbcRepositoryImpl<T,​ID>

  • All Implemented Interfaces:
    LcR2dbcRepository<T,​ID>, org.springframework.data.r2dbc.repository.R2dbcRepository<T,​ID>, org.springframework.data.repository.query.ReactiveQueryByExampleExecutor<T>, org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>, org.springframework.data.repository.reactive.ReactiveSortingRepository<T,​ID>, org.springframework.data.repository.Repository<T,​ID>

    public class LcR2dbcRepositoryImpl<T,​ID>
    extends org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
    implements LcR2dbcRepository<T,​ID>
    • Constructor Summary

      Constructors 
      Constructor Description
      LcR2dbcRepositoryImpl​(org.springframework.data.relational.repository.query.RelationalEntityInformation<T,​ID> entity, org.springframework.data.r2dbc.core.R2dbcEntityOperations entityOperations, org.springframework.data.r2dbc.convert.R2dbcConverter converter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<Void> delete​(T objectToDelete)  
      reactor.core.publisher.Mono<Void> deleteAll()  
      reactor.core.publisher.Mono<Void> deleteAll​(Iterable<? extends T> iterable)  
      reactor.core.publisher.Mono<Void> deleteAll​(org.reactivestreams.Publisher<? extends T> objectPublisher)  
      reactor.core.publisher.Mono<Void> deleteAllById​(Iterable<? extends ID> ids)  
      reactor.core.publisher.Mono<Void> deleteById​(ID id)  
      reactor.core.publisher.Mono<Void> deleteById​(org.reactivestreams.Publisher<ID> idPublisher)  
      reactor.core.publisher.Mono<Boolean> existsById​(ID id)  
      reactor.core.publisher.Flux<T> findAllById​(org.reactivestreams.Publisher<ID> idPublisher)  
      reactor.core.publisher.Mono<T> findById​(ID id)  
      LcReactiveDataRelationalClient getLcClient()  
      <S extends T>
      reactor.core.publisher.Mono<S>
      save​(S objectToSave)  
      <S extends T>
      reactor.core.publisher.Flux<S>
      saveAll​(Iterable<S> objectsToSave)  
      <S extends T>
      reactor.core.publisher.Flux<S>
      saveAll​(org.reactivestreams.Publisher<S> objectsToSave)  
      • Methods inherited from class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository

        count, count, exists, existsById, findAll, findAll, findAll, findAll, findAllById, findBy, findById, findOne
      • Methods inherited from interface org.springframework.data.repository.reactive.ReactiveCrudRepository

        count, existsById, findAll, findAllById, findById
      • Methods inherited from interface org.springframework.data.repository.query.ReactiveQueryByExampleExecutor

        count, exists, findAll, findAll, findBy, findOne
      • Methods inherited from interface org.springframework.data.repository.reactive.ReactiveSortingRepository

        findAll
    • Constructor Detail

      • LcR2dbcRepositoryImpl

        public LcR2dbcRepositoryImpl​(org.springframework.data.relational.repository.query.RelationalEntityInformation<T,​ID> entity,
                                     org.springframework.data.r2dbc.core.R2dbcEntityOperations entityOperations,
                                     org.springframework.data.r2dbc.convert.R2dbcConverter converter)
    • Method Detail

      • findById

        public reactor.core.publisher.Mono<T> findById​(ID id)
        Specified by:
        findById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        findById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • findAllById

        public reactor.core.publisher.Flux<T> findAllById​(org.reactivestreams.Publisher<ID> idPublisher)
        Specified by:
        findAllById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        findAllById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • existsById

        public reactor.core.publisher.Mono<Boolean> existsById​(ID id)
        Specified by:
        existsById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        existsById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • save

        public <S extends T> reactor.core.publisher.Mono<S> save​(S objectToSave)
        Specified by:
        save in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        save in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • saveAll

        public <S extends T> reactor.core.publisher.Flux<S> saveAll​(Iterable<S> objectsToSave)
        Specified by:
        saveAll in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        saveAll in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • saveAll

        public <S extends T> reactor.core.publisher.Flux<S> saveAll​(org.reactivestreams.Publisher<S> objectsToSave)
        Specified by:
        saveAll in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        saveAll in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • delete

        public reactor.core.publisher.Mono<Void> delete​(T objectToDelete)
        Specified by:
        delete in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        delete in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteAll

        public reactor.core.publisher.Mono<Void> deleteAll​(Iterable<? extends T> iterable)
        Specified by:
        deleteAll in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteAll in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteAll

        public reactor.core.publisher.Mono<Void> deleteAll​(org.reactivestreams.Publisher<? extends T> objectPublisher)
        Specified by:
        deleteAll in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteAll in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteAll

        public reactor.core.publisher.Mono<Void> deleteAll()
        Specified by:
        deleteAll in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteAll in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteAllById

        public reactor.core.publisher.Mono<Void> deleteAllById​(Iterable<? extends ID> ids)
        Specified by:
        deleteAllById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteAllById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteById

        public reactor.core.publisher.Mono<Void> deleteById​(ID id)
        Specified by:
        deleteById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>
      • deleteById

        public reactor.core.publisher.Mono<Void> deleteById​(org.reactivestreams.Publisher<ID> idPublisher)
        Specified by:
        deleteById in interface org.springframework.data.repository.reactive.ReactiveCrudRepository<T,​ID>
        Overrides:
        deleteById in class org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,​ID>