Class LcR2dbcRepositoryImpl<T,ID>
- java.lang.Object
-
- org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,ID>
-
- net.lecousin.reactive.data.relational.repository.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)LcReactiveDataRelationalClientgetLcClient()<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, findBy, findById, findById, findOne
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.data.repository.reactive.ReactiveCrudRepository
count, deleteAllById, existsById, existsById, findAll, findAllById, findAllById, findById, findById
-
-
-
-
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
-
getLcClient
public LcReactiveDataRelationalClient getLcClient()
- Specified by:
getLcClientin interfaceLcR2dbcRepository<T,ID>
-
save
public <S extends T> reactor.core.publisher.Mono<S> save(S objectToSave)
-
saveAll
public <S extends T> reactor.core.publisher.Flux<S> saveAll(org.reactivestreams.Publisher<S> objectsToSave)
-
deleteAll
public reactor.core.publisher.Mono<Void> deleteAll(org.reactivestreams.Publisher<? extends T> objectPublisher)
-
deleteAll
public reactor.core.publisher.Mono<Void> deleteAll()
-
-