@NoRepositoryBean
public interface ReactiveCassandraRepository<T,ID>
extends org.springframework.data.repository.reactive.ReactiveCrudRepository<T,ID>
Repository
interface with reactive support.Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<T> |
findAllById(Iterable<ID> iterable)
Note: Cassandra supports single-field
IN queries only. |
reactor.core.publisher.Flux<T> |
findAllById(org.reactivestreams.Publisher<ID> publisher)
Fetches each row individually.
|
<S extends T> |
insert(Iterable<S> entities)
Inserts the given entities.
|
<S extends T> |
insert(org.reactivestreams.Publisher<S> entities)
Inserts the given a given entities.
|
<S extends T> |
insert(S entity)
Inserts the given entity.
|
<S extends T> reactor.core.publisher.Mono<S> insert(S entity)
ReactiveCrudRepository.save(Object)
instead to avoid the usage of store-specific API.entity
- must not be null.<S extends T> reactor.core.publisher.Flux<S> insert(Iterable<S> entities)
ReactiveCrudRepository.save(Object)
instead to avoid the usage of store-specific API.entities
- must not be null.<S extends T> reactor.core.publisher.Flux<S> insert(org.reactivestreams.Publisher<S> entities)
ReactiveCrudRepository.save(Object)
instead to avoid the usage of store-specific API.entities
- must not be null.reactor.core.publisher.Flux<T> findAllById(Iterable<ID> iterable)
Note: Cassandra supports single-field IN
queries only. Fetches each row individually when using
MapId
with multiple components.
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.