Modifier and Type | Method and Description |
---|---|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setAccessCondition(AccessCondition accessCondition)
Sets the conditions associated with the request.
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setIndexingDirective(IndexingDirective indexingDirective)
Sets the indexing directive (index, do not index etc).
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setPostTriggerInclude(List<String> postTriggerInclude)
Sets the triggers to be invoked after the operation.
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setPreTriggerInclude(List<String> preTriggerInclude)
Sets the triggers to be invoked before the operation.
|
CosmosItemRequestOptions |
CosmosItemRequestOptions.setSessionToken(String sessionToken)
Sets the token for use with session consistency.
|
Modifier and Type | Method and Description |
---|---|
<T> reactor.core.publisher.Mono<CosmosAsyncItemResponse<T>> |
CosmosAsyncContainer.createItem(T item,
CosmosItemRequestOptions options) |
<T> CosmosItemResponse<T> |
CosmosContainer.createItem(T item,
CosmosItemRequestOptions options)
Create a cosmos item.
|
<T> reactor.core.publisher.Mono<CosmosAsyncItemResponse<T>> |
CosmosAsyncContainer.createItem(T item,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Creates a cosmos item.
|
<T> CosmosItemResponse<T> |
CosmosContainer.createItem(T item,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Create a cosmos item synchronously.
|
reactor.core.publisher.Mono<CosmosAsyncItemResponse> |
CosmosAsyncContainer.deleteItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Deletes the item.
|
CosmosItemResponse |
CosmosContainer.deleteItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options)
Delete cosmos sync item response.
|
<T> reactor.core.publisher.Mono<CosmosAsyncItemResponse<T>> |
CosmosAsyncContainer.readItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options,
Class<T> itemType)
Reads an item.
|
<T> CosmosItemResponse<T> |
CosmosContainer.readItem(String itemId,
PartitionKey partitionKey,
CosmosItemRequestOptions options,
Class<T> itemType)
Read cosmos sync item response.
|
<T> reactor.core.publisher.Mono<CosmosAsyncItemResponse<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)
Replace cosmos sync item response.
|
<T> CosmosItemResponse<T> |
CosmosContainer.upsertItem(Object item,
CosmosItemRequestOptions options)
Upsert item cosmos sync item response.
|
<T> reactor.core.publisher.Mono<CosmosAsyncItemResponse<T>> |
CosmosAsyncContainer.upsertItem(T item,
CosmosItemRequestOptions options)
Upserts a cosmos item.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.