你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReactiveCosmosOperations Interface
public interface ReactiveCosmosOperations
Operation class of reactive cosmos
Method Summary
Method Details
<S,T>deleteEntities
public abstract MonodeleteEntities(CosmosEntityInformation entities)
Delete all items with bulk.
Parameters:
Returns:
<S,T>deleteEntities
public abstract MonodeleteEntities(CosmosEntityInformation entities)
Delete all items with bulk.
Parameters:
Returns:
<S,T>insertAll
public abstract Flux insertAll(CosmosEntityInformation entities)
Insert all items with bulk.
Parameters:
Returns:
<S,T>insertAll
public abstract Flux insertAll(CosmosEntityInformation entities)
Insert all items with bulk.
Parameters:
Returns:
delete
public abstract Flux
Delete items matching query
Parameters:
Returns:
deleteEntity
public abstract Mono
Delete using entity
Parameters:
Returns:
find
public abstract Flux
Find items
Parameters:
Returns:
findAll
public abstract Flux
Find all items in a given container with partition key
Parameters:
Returns:
findAll
public abstract Flux
Find all items in a given container
Parameters:
Returns:
findAll
public abstract Flux
Find all items in a given container
Parameters:
Returns:
findById
public abstract Mono
Find by id
Parameters:
Returns:
findById
public abstract Mono
Find by id
Parameters:
Returns:
findById
public abstract Mono
Find by id
Parameters:
Returns:
insert
public abstract Mono
Insert
Parameters:
Returns:
insert
public abstract Mono
Insert
Parameters:
Returns:
insert
public abstract Mono
Insert
Parameters:
Returns:
patch
public abstract Mono
patches item
Parameters:
Returns:
patch
public abstract Mono
patches item
Parameters:
Returns:
runQuery
public abstract Flux
Run the query.
Parameters:
Returns:
runQuery
public abstract Flux
Run the query.
Parameters:
Returns:
upsert
public abstract Mono
Upsert an item with partition key
Parameters:
Returns:
upsert
public abstract Mono
Upsert an item to container with partition key
Parameters:
Returns:
count
public abstract Mono
Count
Parameters:
Returns:
count
public abstract Mono
Count
Parameters:
Returns:
count
public abstract Mono
Count
Parameters:
Returns:
createContainerIfNotExists
public abstract Mono
Creates a container if it doesn't already exist
Parameters:
Returns:
deleteAll
public abstract Mono
Delete all items in a container. Uses bulk if possible.
Parameters:
Returns:
deleteById
public abstract Mono
Delete an item by id
Parameters:
Returns:
deleteContainer
public abstract void deleteContainer(String containerName)
Delete container
Parameters:
exists
public abstract Mono
Exists
Parameters:
Returns:
existsById
public abstract Mono
Exists
Parameters:
Returns:
getContainerName
public abstract String getContainerName(Class domainType)
Get container name
Parameters:
Returns:
getContainerProperties
public abstract Mono
Get properties for specified container
Parameters:
Returns:
getConverter
public abstract MappingCosmosConverter getConverter()
To get converter
Returns:
replaceContainerProperties
public abstract Mono
Replace container properties for the specified container
Parameters:
Returns: