Class CosmosDbDatabaseOperations
java.lang.Object
org.apache.camel.component.azure.cosmosdb.operations.CosmosDbDatabaseOperations
-
Constructor Summary
ConstructorsConstructorDescriptionCosmosDbDatabaseOperations(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncDatabase> database) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<com.azure.cosmos.models.CosmosContainerResponse> createContainer(String containerId, String containerPartitionKeyPath, com.azure.cosmos.models.ThroughputProperties throughputProperties, com.azure.cosmos.models.IndexingPolicy indexingPolicy) createContainerIfNotExistAndGetContainerOperations(String containerId, String containerPartitionKeyPath, com.azure.cosmos.models.ThroughputProperties throughputProperties, com.azure.cosmos.models.IndexingPolicy indexingPolicy) reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosDatabaseResponse> deleteDatabase(com.azure.cosmos.models.CosmosDatabaseRequestOptions databaseRequestOptions) getContainerOperations(String containerId) reactor.core.publisher.Mono<String> reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosContainerProperties> queryContainers(String query, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions) reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosContainerProperties> readAllContainers(com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions) reactor.core.publisher.Mono<com.azure.cosmos.models.ThroughputResponse> replaceDatabaseThroughput(com.azure.cosmos.models.ThroughputProperties throughputProperties)
-
Constructor Details
-
CosmosDbDatabaseOperations
public CosmosDbDatabaseOperations(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncDatabase> database)
-
-
Method Details
-
getDatabaseId
-
deleteDatabase
public reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosDatabaseResponse> deleteDatabase(com.azure.cosmos.models.CosmosDatabaseRequestOptions databaseRequestOptions) -
createContainer
-
createContainerIfNotExistAndGetContainerOperations
public CosmosDbContainerOperations createContainerIfNotExistAndGetContainerOperations(String containerId, String containerPartitionKeyPath, com.azure.cosmos.models.ThroughputProperties throughputProperties, com.azure.cosmos.models.IndexingPolicy indexingPolicy) -
getContainerOperations
-
replaceDatabaseThroughput
public reactor.core.publisher.Mono<com.azure.cosmos.models.ThroughputResponse> replaceDatabaseThroughput(com.azure.cosmos.models.ThroughputProperties throughputProperties) -
readAllContainers
public reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosContainerProperties> readAllContainers(com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions) -
queryContainers
public reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosContainerProperties> queryContainers(String query, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions)
-