Class CosmosDbContainerOperations
java.lang.Object
org.apache.camel.component.azure.cosmosdb.operations.CosmosDbContainerOperations
-
Constructor Summary
ConstructorsConstructorDescriptionCosmosDbContainerOperations(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> container) -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.cosmos.ChangeFeedProcessorcaptureEventsWithChangeFeed(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> leaseContainerMono, String hostName, Consumer<List<Map<String, ?>>> resultsCallback, com.azure.cosmos.models.ChangeFeedProcessorOptions changeFeedProcessorOptions) <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> createItem(T item, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) <T> reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemResponse<T>> createItems(List<T> items, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosContainerResponse> deleteContainer(com.azure.cosmos.models.CosmosContainerRequestOptions containerRequestOptions) reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<Object>> deleteItem(String itemId, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> reactor.core.publisher.Mono<String> <T> reactor.core.publisher.Flux<T> queryItems(String query, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions, Class<T> itemType) <T> reactor.core.publisher.Flux<com.azure.cosmos.models.FeedResponse<T>> queryItemsAsFeed(String query, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions, Class<T> itemType) <T> reactor.core.publisher.Flux<T> readAllItems(com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions, Class<T> itemType) <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> readItem(String itemId, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions, Class<T> itemType) reactor.core.publisher.Mono<com.azure.cosmos.models.ThroughputResponse> replaceContainerThroughput(com.azure.cosmos.models.ThroughputProperties throughputProperties) <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> replaceItem(T item, String itemId, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> upsertItem(T item, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) <T> reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemResponse<T>> upsertItems(List<T> items, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions)
-
Constructor Details
-
CosmosDbContainerOperations
public CosmosDbContainerOperations(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> container)
-
-
Method Details
-
getContainer
public reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> getContainer() -
getContainerId
-
deleteContainer
public reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosContainerResponse> deleteContainer(com.azure.cosmos.models.CosmosContainerRequestOptions containerRequestOptions) -
replaceContainerThroughput
public reactor.core.publisher.Mono<com.azure.cosmos.models.ThroughputResponse> replaceContainerThroughput(com.azure.cosmos.models.ThroughputProperties throughputProperties) -
createItem
public <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> createItem(T item, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) -
createItems
public <T> reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemResponse<T>> createItems(List<T> items, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) -
upsertItem
public <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> upsertItem(T item, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) -
upsertItems
public <T> reactor.core.publisher.Flux<com.azure.cosmos.models.CosmosItemResponse<T>> upsertItems(List<T> items, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) -
deleteItem
-
replaceItem
public <T> reactor.core.publisher.Mono<com.azure.cosmos.models.CosmosItemResponse<T>> replaceItem(T item, String itemId, com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosItemRequestOptions itemRequestOptions) -
readItem
-
readAllItems
public <T> reactor.core.publisher.Flux<T> readAllItems(com.azure.cosmos.models.PartitionKey partitionKey, com.azure.cosmos.models.CosmosQueryRequestOptions queryRequestOptions, Class<T> itemType) -
queryItems
-
queryItemsAsFeed
-
captureEventsWithChangeFeed
public com.azure.cosmos.ChangeFeedProcessor captureEventsWithChangeFeed(reactor.core.publisher.Mono<com.azure.cosmos.CosmosAsyncContainer> leaseContainerMono, String hostName, Consumer<List<Map<String, ?>>> resultsCallback, com.azure.cosmos.models.ChangeFeedProcessorOptions changeFeedProcessorOptions)
-