Uses of Class
com.azure.cosmos.models.CosmosItemResponse
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides Encryption interfaces for interacting with Azure Cosmos DB.
-
Uses of CosmosItemResponse in com.azure.cosmos
Modifier and TypeMethodDescription<T> CosmosItemResponse<T>
CosmosContainer.createItem
(T item) Creates a new item synchronously and returns its respective Cosmos item response.<T> CosmosItemResponse<T>
CosmosContainer.createItem
(T item, CosmosItemRequestOptions options) Creates a new item synchronously and returns its respective Cosmos item response while specifying additional options.<T> CosmosItemResponse<T>
CosmosContainer.createItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions options) Creates a new item synchronously and returns its respective Cosmos item response while specifying additional options.CosmosContainer.deleteAllItemsByPartitionKey
(PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes all items in the Container with the specified partitionKey value.CosmosContainer.deleteItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes an item in the current container.<T> CosmosItemResponse<Object>
CosmosContainer.deleteItem
(T item, CosmosItemRequestOptions options) Deletes an item in the current container.<T> CosmosItemResponse<T>
CosmosContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run patch operations on an Item.<T> CosmosItemResponse<T>
CosmosContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType) Run patch operations on an Item.<T> CosmosItemResponse<T>
CosmosContainer.readItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options, Class<T> itemType) Reads an item in the current container while specifying additional options.<T> CosmosItemResponse<T>
CosmosContainer.readItem
(String itemId, PartitionKey partitionKey, Class<T> itemType) Reads an item in the current container.<T> CosmosItemResponse<T>
CosmosContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options) Replaces an item in the current container.<T> CosmosItemResponse<T>
CosmosContainer.upsertItem
(T item) Upserts an Cosmos item in the current container.<T> CosmosItemResponse<T>
CosmosContainer.upsertItem
(T item, CosmosItemRequestOptions options) Upserts a item Cosmos sync item while specifying additional options.<T> CosmosItemResponse<T>
CosmosContainer.upsertItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions options) Upserts a item Cosmos sync item while specifying additional options.Modifier and TypeMethodDescription<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.createItem
(T item) Creates an item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.createItem
(T item, CosmosItemRequestOptions options) Creates a Cosmos item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.createItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions options) Creates an item.CosmosAsyncContainer.deleteAllItemsByPartitionKey
(PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes all items in the Container with the specified partitionKey value.CosmosAsyncContainer.deleteItem
(String itemId, PartitionKey partitionKey) Deletes an item.CosmosAsyncContainer.deleteItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options) Deletes the item.<T> Mono<CosmosItemResponse<Object>>
CosmosAsyncContainer.deleteItem
(T item, CosmosItemRequestOptions options) Deletes the item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run patch operations on an Item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, Class<T> itemType) Run patch operations on an Item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.readItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options, Class<T> itemType) Reads an item using a configuredCosmosItemRequestOptions
.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.readItem
(String itemId, PartitionKey partitionKey, Class<T> itemType) Reads an item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey) Replaces an item with the passed in item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey, CosmosItemRequestOptions options) Replaces an item with the passed in item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.upsertItem
(T item) Upserts an item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.upsertItem
(T item, CosmosItemRequestOptions options) Upserts an item.<T> Mono<CosmosItemResponse<T>>
CosmosAsyncContainer.upsertItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions options) Upserts an item. -
Uses of CosmosItemResponse in com.azure.cosmos.encryption
Modifier and TypeMethodDescription<T> CosmosItemResponse<T>
CosmosEncryptionContainer.createItem
(T item) Creates a new item synchronously and returns its respective Cosmos item response.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.createItem
(T item, CosmosItemRequestOptions options) Creates a new item synchronously and returns its respective Cosmos item response while specifying additional options.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.createItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Creates a new item synchronously and returns its respective Cosmos item response while specifying additional options.CosmosEncryptionContainer.deleteItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Deletes an item in the current container.<T> CosmosItemResponse<Object>
CosmosEncryptionContainer.deleteItem
(T item, CosmosItemRequestOptions options) Deletes an item in the current container.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run patch operations on an Item.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.readItem
(String id, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions, Class<T> classType) Reads an item in the current container while specifying additional options.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.readItem
(String id, PartitionKey partitionKey, Class<T> classType) Reads an item in the current container.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Replaces an item in the current container.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.upsertItem
(T item) Upserts an Cosmos item in the current container.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.upsertItem
(T item, CosmosItemRequestOptions options) Upserts a item Cosmos sync item while specifying additional options.<T> CosmosItemResponse<T>
CosmosEncryptionContainer.upsertItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Upserts a item Cosmos sync item while specifying additional options.Modifier and TypeMethodDescription<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.createItem
(T item) Creates an item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.createItem
(T item, CosmosItemRequestOptions requestOptions) Creates a Cosmos item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.createItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Creates an item.CosmosEncryptionAsyncContainer.deleteItem
(String itemId, PartitionKey partitionKey) Deletes an item.CosmosEncryptionAsyncContainer.deleteItem
(String itemId, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Deletes the item.<T> Mono<CosmosItemResponse<Object>>
CosmosEncryptionAsyncContainer.deleteItem
(T item, CosmosItemRequestOptions requestOptions) Deletes the item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.patchItem
(String itemId, PartitionKey partitionKey, CosmosPatchOperations cosmosPatchOperations, CosmosPatchItemRequestOptions options, Class<T> itemType) Run patch operations on an Item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.readItem
(String id, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions, Class<T> classType) Reads an item using a configuredCosmosItemRequestOptions
.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.readItem
(String id, PartitionKey partitionKey, Class<T> classType) Reads an item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey) Replaces an item with the passed in item and encrypts the requested fields.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.replaceItem
(T item, String itemId, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Replaces an item with the passed in item and encrypts the requested fields.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.upsertItem
(T item) Upserts an item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.upsertItem
(T item, CosmosItemRequestOptions requestOptions) Upserts an item.<T> Mono<CosmosItemResponse<T>>
CosmosEncryptionAsyncContainer.upsertItem
(T item, PartitionKey partitionKey, CosmosItemRequestOptions requestOptions) Upserts an item.