クラス SimpleR2dbcRepository<T,ID>
java.lang.ObjectSE
org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository<T,ID>
- 実装されたすべてのインターフェース:
R2dbcRepository<T,
、ID> ReactiveQueryByExampleExecutor<T>
、ReactiveCrudRepository<T,
、ID> ReactiveSortingRepository<T,
、ID> Repository<T,
ID>
@Transactional(readOnly=true)
public class SimpleR2dbcRepository<T,ID>
extends ObjectSE
implements R2dbcRepository<T,ID>
DatabaseClient
を介して R2DBC を使用する単純な ReactiveSortingRepository
実装。- 作成者:
- Mark Paluch, Jens Schauder, Mingyuan Wu, Stephen Cohen, Greg Turnquist
コンストラクターのサマリー
コンストラクター説明SimpleR2dbcRepository
(RelationalEntityInformation<T, ID> entity, R2dbcEntityOperations entityOperations, R2dbcConverter converter) 新しいSimpleR2dbcRepository
を作成します。SimpleR2dbcRepository
(RelationalEntityInformation<T, ID> entity, DatabaseClient databaseClient, R2dbcConverter converter, ReactiveDataAccessStrategy accessStrategy) 新しいSimpleR2dbcRepository
を作成します。メソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<LongSE>
count()
reactor.core.publisher.Mono<VoidSE>
reactor.core.publisher.Mono<VoidSE>
reactor.core.publisher.Mono<VoidSE>
deleteAll
(IterableSE<? extends T> iterable) reactor.core.publisher.Mono<VoidSE>
reactor.core.publisher.Mono<VoidSE>
deleteAllById
(IterableSE<? extends ID> ids) reactor.core.publisher.Mono<VoidSE>
deleteById
(ID id) reactor.core.publisher.Mono<VoidSE>
deleteById
(org.reactivestreams.Publisher<ID> idPublisher) reactor.core.publisher.Mono<BooleanSE>
existsById
(ID id) reactor.core.publisher.Mono<BooleanSE>
existsById
(org.reactivestreams.Publisher<ID> publisher) reactor.core.publisher.Flux<T>
findAll()
<S extends T>
reactor.core.publisher.Flux<S><S extends T>
reactor.core.publisher.Flux<S>reactor.core.publisher.Flux<T>
reactor.core.publisher.Flux<T>
findAllById
(IterableSE<ID> iterable) reactor.core.publisher.Flux<T>
findAllById
(org.reactivestreams.Publisher<ID> idPublisher) <S extends T,
R, P extends org.reactivestreams.Publisher<R>>
PfindBy
(Example<S> example, FunctionSE<FluentQuery.ReactiveFluentQuery<S>, P> queryFunction) reactor.core.publisher.Mono<T>
reactor.core.publisher.Mono<T>
<S extends T>
reactor.core.publisher.Mono<S><S extends T>
reactor.core.publisher.Mono<S>save
(S objectToSave) <S extends T>
reactor.core.publisher.Flux<S>saveAll
(IterableSE<S> objectsToSave) <S extends T>
reactor.core.publisher.Flux<S>saveAll
(org.reactivestreams.Publisher<S> objectsToSave)
コンストラクターの詳細
SimpleR2dbcRepository
public SimpleR2dbcRepository(RelationalEntityInformation<T, ID> entity, R2dbcEntityOperations entityOperations, R2dbcConverter converter) 新しいSimpleR2dbcRepository
を作成します。- パラメーター:
entity
-entityOperations
-converter
-- 導入:
- 1.1
SimpleR2dbcRepository
public SimpleR2dbcRepository(RelationalEntityInformation<T, ID> entity, DatabaseClient databaseClient, R2dbcConverter converter, ReactiveDataAccessStrategy accessStrategy) 新しいSimpleR2dbcRepository
を作成します。- パラメーター:
entity
-databaseClient
-converter
-accessStrategy
-- 導入:
- 1.2
メソッドの詳細
save
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> save
saveAll
@Transactional public <S extends T> reactor.core.publisher.Flux<S> saveAll(IterableSE<S> objectsToSave) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> saveAll
saveAll
@Transactional public <S extends T> reactor.core.publisher.Flux<S> saveAll(org.reactivestreams.Publisher<S> objectsToSave) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> saveAll
findById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> findById
findById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> findById
existsById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> existsById
existsById
public reactor.core.publisher.Mono<BooleanSE> existsById(org.reactivestreams.Publisher<ID> publisher) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> existsById
findAll
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> findAll
findAllById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> findAllById
findAllById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> findAllById
count
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> count
deleteById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteById
deleteById
@Transactional public reactor.core.publisher.Mono<VoidSE> deleteById(org.reactivestreams.Publisher<ID> idPublisher) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteById
delete
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> delete
deleteAllById
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteAllById
deleteAll
@Transactional public reactor.core.publisher.Mono<VoidSE> deleteAll(IterableSE<? extends T> iterable) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteAll
deleteAll
@Transactional public reactor.core.publisher.Mono<VoidSE> deleteAll(org.reactivestreams.Publisher<? extends T> objectPublisher) - 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteAll
deleteAll
- 次で指定:
- インターフェース
ReactiveCrudRepository<T,
のID> deleteAll
findAll
- 次で指定:
- インターフェース
ReactiveSortingRepository<T,
のID> findAll
findOne
- 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のfindOne
findAll
- 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のfindAll
findAll
- 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のfindAll
count
- 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のcount
exists
- 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のexists
findBy
public <S extends T,R, P findByP extends org.reactivestreams.Publisher<R>> (Example<S> example, FunctionSE<FluentQuery.ReactiveFluentQuery<S>, P> queryFunction) - 次で指定:
- インターフェース
ReactiveQueryByExampleExecutor<T>
のfindBy