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.DatabaseClient databaseClient, org.springframework.data.r2dbc.convert.R2dbcConverter converter, org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy accessStrategy)  
      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> deleteById​(ID id)  
      reactor.core.publisher.Mono<Void> deleteById​(org.reactivestreams.Publisher<ID> idPublisher)  
      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, deleteAllById, exists, existsById, existsById, findAll, findAll, findAll, findAll, findAllById, findAllById, findById, findById, findOne
      • Methods inherited from interface org.springframework.data.repository.reactive.ReactiveCrudRepository

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

        count, exists, findAll, findAll, 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)
      • LcR2dbcRepositoryImpl

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

      • 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>
      • 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>