| Package | Description |
|---|---|
| com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
| com.azure.cosmos.models |
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.createItem(T item,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Creates an item.
|
<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.
|
Mono<CosmosItemResponse<Object>> |
CosmosAsyncContainer.deleteItem(String itemId,
PartitionKey partitionKey)
Deletes an item.
|
Mono<CosmosItemResponse<Object>> |
CosmosAsyncContainer.deleteItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Deletes the item.
|
CosmosItemResponse<Object> |
CosmosContainer.deleteItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Deletes an item in the current container.
|
<T> CosmosPagedFlux<T> |
CosmosAsyncContainer.readAllItems(PartitionKey partitionKey,
Class<T> classType)
Reads all the items of a logical partition
|
<T> CosmosPagedIterable<T> |
CosmosContainer.readAllItems(PartitionKey partitionKey,
Class<T> classType)
Reads all the items of a logical partition returning the results as
CosmosPagedIterable. |
<T> CosmosPagedFlux<T> |
CosmosAsyncContainer.readAllItems(PartitionKey partitionKey,
CosmosQueryRequestOptions options,
Class<T> classType)
Reads all the items of a logical partition
|
<T> CosmosPagedIterable<T> |
CosmosContainer.readAllItems(PartitionKey partitionKey,
CosmosQueryRequestOptions options,
Class<T> classType)
Reads all the items of a logical partition returning the results as
CosmosPagedIterable. |
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.readItem(String itemId,
PartitionKey partitionKey,
Class<T> itemType)
Reads an item.
|
<T> CosmosItemResponse<T> |
CosmosContainer.readItem(String itemId,
PartitionKey partitionKey,
Class<T> itemType)
Reads an item in the current container.
|
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.readItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options,
Class<T> itemType)
Reads an item using a configured
CosmosItemRequestOptions. |
<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> 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> CosmosItemResponse<T> |
CosmosContainer.replaceItem(T item,
String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Replaces an item in the current container.
|
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.upsertItem(T item,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Upserts an item.
|
<T> CosmosItemResponse<T> |
CosmosContainer.upsertItem(T item,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Upserts a item Cosmos sync item while specifying additional options.
|
| Modifier and Type | Field and Description |
|---|---|
static PartitionKey |
PartitionKey.NONE |
| Modifier and Type | Method and Description |
|---|---|
PartitionKey |
CosmosStoredProcedureRequestOptions.getPartitionKey()
Gets the partition key used to identify the current request's target partition.
|
PartitionKey |
CosmosQueryRequestOptions.getPartitionKey()
Gets the partition key used to identify the current request's target
partition.
|
PartitionKey |
CosmosItemIdentity.getPartitionKey()
Gets the partition key
|
PartitionKey |
CosmosPermissionProperties.getResourcePartitionKey()
Gets the resource partition key associated with this permission object.
|
| Modifier and Type | Method and Description |
|---|---|
CosmosStoredProcedureRequestOptions |
CosmosStoredProcedureRequestOptions.setPartitionKey(PartitionKey partitionKey)
Sets the partition key used to identify the current request's target partition.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setPartitionKey(PartitionKey partitionkey)
Sets the partition key used to identify the current request's target
partition.
|
CosmosPermissionProperties |
CosmosPermissionProperties.setResourcePartitionKey(PartitionKey partitionKey)
Sets the resource partition key associated with this permission object.
|
| Constructor and Description |
|---|
CosmosItemIdentity(PartitionKey partitionKey,
String id)
Instantiates an instance of the CosmosItemIdentity class
|
Copyright © 2020 Microsoft Corporation. All rights reserved.