SimpleReactiveCosmosRepository<T,K> Class
- java.
lang. Object - com.
azure. spring. data. cosmos. repository. support. SimpleReactiveCosmosRepository<T,K>
- com.
Type Parameters
- T
the type of the domain class managed by this repository.
- K
the type of the id of the domain class managed by this repository.
Implements
public class SimpleReactiveCosmosRepository<T,K>
implements ReactiveCosmosRepository<T,K>
Repository class for simple reactive Cosmos operation
Constructor Summary
Constructor | Description |
---|---|
SimpleReactiveCosmosRepository(CosmosEntityInformation<T,K> metadata, ReactiveCosmosOperations reactiveCosmosOperations) |
Initialization with metadata and reactive |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
SimpleReactiveCosmosRepository
public SimpleReactiveCosmosRepository(CosmosEntityInformation
Initialization with metadata and reactiveCosmosOperations
Parameters:
Method Details
save
public Mono save(K id, PartitionKey partitionKey, Class domainType, CosmosPatchOperations patchOperations)
Patches an entity by its id and partition key with CosmosPatchItemRequestOptions
Parameters:
save
public Mono save(K id, PartitionKey partitionKey, Class domainType, CosmosPatchOperations patchOperations, CosmosPatchItemRequestOptions options)
Patches an entity by its id and partition key with CosmosPatchItemRequestOptions
Parameters:
save
public Mono save(S entity)
Parameters:
saveAll
public Flux saveAll(Iterable entities)
Parameters:
saveAll
public Flux saveAll(Publisher entityStream)
Parameters:
count
public Mono
delete
public Mono
Parameters:
deleteAll
public Mono
deleteAll
public Mono
Parameters:
deleteAll
public Mono
Parameters:
deleteAllById
public Mono
Parameters:
deleteById
public Mono
Parameters:
deleteById
public Mono
Deletes an entity by its id and partition key.
Parameters:
deleteById
public Mono
Parameters:
existsById
public Mono
Parameters:
existsById
public Mono
Parameters:
findAll
public Flux
findAll
public Flux
Returns Flux of items in a specific partition
Parameters:
findAll
public Flux
Parameters:
findAllById
public Flux
Parameters:
findAllById
public Flux
Parameters:
findById
public Mono
Parameters:
findById
public Mono
Retrieves an entity by its id and partition key.
Parameters:
findById
public Mono
Parameters:
Applies to
Azure SDK for Java