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 | Class and Description |
---|---|
class |
BulkExecutionOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed.
Please use
CosmosBulkExecutionOptions |
class |
BulkExecutionThresholds
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkExecutionThresholdsState
Encapsulates internal state used to dynamically determine max micro batch size for bulk operations.
It allows passing this state for one `BulkProcessingOptions` to another in case bulk operations are
expected to have similar characteristics and the context for determining the micro batch size should be preserved. |
class |
BulkItemRequestOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkItemRequestOptions
Encapsulates options that can be specified for an operation used in Bulk execution. It can be passed while
creating bulk request using BulkOperations . |
class |
BulkOperations
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkOperations
Utility for creating bulk operations which can be executed by calling
CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions) .
Also while creating these operation, if some options which are only for individual operation can be provided by passing
a BulkItemRequestOptions while creating the bulk operation.
See also BulkExecutionOptions . |
class |
BulkPatchItemRequestOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkPatchItemRequestOptions
Encapsulates options that can be specified for an patch operation used in Bulk execution. It can be passed while
creating bulk patch request using BulkOperations . |
class |
BulkProcessingOptions<TContext>
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Encapsulates options for executing a bulk. This is immutable once
CosmosAsyncContainer.processBulkOperations(Flux, BulkProcessingOptions) is called, changing it will have
no affect. |
class |
BulkProcessingThresholds<TContext>
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Encapsulates internal state used to dynamically determine max micro batch size for bulk operations.
It allows passing this state for one `BulkProcessingOptions` to another in case bulk operations are
expected to have similar characteristics and the context for determining the micro batch size should be preserved. |
class |
CosmosAsyncClientEncryptionKey
The type Cosmos async clientEncryptionKey.
|
class |
CosmosBulkItemResponse
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkItemResponse
Response of a CosmosItemOperation request when processed using Bulk by calling
CosmosAsyncContainer.processBulkOperations(Flux, BulkProcessingOptions) . |
class |
CosmosBulkOperationResponse<TContext>
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBulkOperationResponse
Request, response and the exception(if any) for a CosmosItemOperation request when processed using Bulk by calling
CosmosAsyncContainer.processBulkOperations(Flux, BulkProcessingOptions) . |
class |
CosmosClientEncryptionKey
The type Cosmos clientEncryptionKey.
|
interface |
CosmosItemOperation
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosItemOperation |
class |
CosmosItemOperationType
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosItemOperationType |
class |
CosmosPatchOperations
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosPatchOperations
Grammar is a super set of this RFC: https://tools.ietf.org/html/rfc6902#section-4.1
Contains a list of Patch operations to be applied on an item. It is applied in an atomic manner and we support all
the operation in above RFC and more.
This can be executed in 3 ways:
1. Passing this to container in container.patchItem() which requires the id of the item to be patched, partition
key, the CosmosPatchOperations instance, any CosmosItemRequestOptions and the class type for which response will be parsed.
2. Add CosmosPatchOperations instance in TransactionalBatch using batch.patchItemOperation() which requires the id of the item
to be patched, cosmos patch instance and TransactionalBatchItemRequestOptions(if-any) and follow remaining
steps for batch for it's execution.
3. Create a bulk item using BulkOperations.getPatchItemOperation which requires the id of the item to be patched,
cosmos patch instance, partition key and BulkItemRequestOptions(if-any) and follow remaining steps to
execute bulk operations.
Let's assume this is the JSON for which we want to run patch operation.
{
a : "xyz"
b : {
c : "efg:
d : 4
e : [0, 1, 2 , 3]
}
}
|
class |
GlobalThroughputControlConfig
This configuration is used for throughput global control mode.
|
class |
GlobalThroughputControlConfigBuilder
Throughput global control config builder.
|
class |
ThroughputControlGroupConfig
Throughput control group configuration.
|
class |
ThroughputControlGroupConfigBuilder
The throughput control group config builder.
|
class |
TransactionalBatch
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatch
Represents a batch of operations against items with the same PartitionKey in a container that will be performed
in a transactional manner at the Azure Cosmos DB service.
Use
Example
This example atomically reads a set of items as a batch.
|
class |
TransactionalBatchItemRequestOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatchItemRequestOptions
Encapsulates options that can be specified for an operation within a TransactionalBatch . |
class |
TransactionalBatchOperationResult
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatchOperationResult
Represents a result for a specific operation that was part of a TransactionalBatch request. |
class |
TransactionalBatchPatchItemRequestOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatchPatchItemRequestOptions
Encapsulates options that can be specified for an operation within a TransactionalBatch . |
class |
TransactionalBatchRequestOptions
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatchRequestOptions
Encapsulates options that can be specified for a TransactionalBatch . |
class |
TransactionalBatchResponse
Deprecated.
forRemoval = true, since = "4.19"
This class is not necessary anymore and will be removed. Please use
CosmosBatchResponse
Response of a TransactionalBatch request. |
Modifier and Type | Method and Description |
---|---|
<T> CosmosPatchOperations |
CosmosPatchOperations.add(String path,
T value)
Deprecated.
|
ThroughputControlGroupConfig |
ThroughputControlGroupConfigBuilder.build()
Validate the throughput configuration and create a new throughput control group config item.
|
GlobalThroughputControlConfig |
GlobalThroughputControlConfigBuilder.build()
Validate the throughput global control configuration and create a new throughput global control config item.
|
static CosmosPatchOperations |
CosmosPatchOperations.create()
Deprecated.
|
Mono<CosmosClientEncryptionKeyResponse> |
CosmosAsyncDatabase.createClientEncryptionKey(CosmosClientEncryptionKeyProperties keyProperties)
Creates a client encryption key after subscription the operation will be performed.
|
GlobalThroughputControlConfigBuilder |
CosmosClient.createGlobalThroughputControlConfigBuilder(String databaseId,
String containerId)
Create global throughput control config builder which will be used to build
GlobalThroughputControlConfig . |
GlobalThroughputControlConfigBuilder |
CosmosAsyncClient.createGlobalThroughputControlConfigBuilder(String databaseId,
String containerId)
Create global throughput control config builder which will be used to build
GlobalThroughputControlConfig . |
<T> CosmosItemOperation |
TransactionalBatch.createItemOperation(T item)
Deprecated.
|
<T> CosmosItemOperation |
TransactionalBatch.createItemOperation(T item,
TransactionalBatchItemRequestOptions requestOptions)
Deprecated.
|
static TransactionalBatch |
TransactionalBatch.createTransactionalBatch(PartitionKey partitionKey)
Deprecated.
|
CosmosItemResponse<Object> |
CosmosContainer.deleteAllItemsByPartitionKey(PartitionKey partitionKey,
CosmosItemRequestOptions options)
Deletes all items in the Container with the specified partitionKey value.
|
Mono<CosmosItemResponse<Object>> |
CosmosAsyncContainer.deleteAllItemsByPartitionKey(PartitionKey partitionKey,
CosmosItemRequestOptions options)
Deletes all items in the Container with the specified partitionKey value.
|
CosmosItemOperation |
TransactionalBatch.deleteItemOperation(String id)
Deprecated.
|
CosmosItemOperation |
TransactionalBatch.deleteItemOperation(String id,
TransactionalBatchItemRequestOptions requestOptions)
Deprecated.
|
void |
CosmosContainer.enableGlobalThroughputControlGroup(ThroughputControlGroupConfig groupConfig,
GlobalThroughputControlConfig globalControlConfig)
Enable the throughput control group with global control mode.
|
void |
CosmosAsyncContainer.enableGlobalThroughputControlGroup(ThroughputControlGroupConfig groupConfig,
GlobalThroughputControlConfig globalControlConfig)
Enable the throughput control group with global control mode.
|
void |
CosmosContainer.enableLocalThroughputControlGroup(ThroughputControlGroupConfig groupConfig)
Enable the throughput control group with local control mode.
|
void |
CosmosAsyncContainer.enableLocalThroughputControlGroup(ThroughputControlGroupConfig groupConfig)
Enable the throughput control group with local control mode.
|
<TContext> Flux<CosmosBulkOperationResponse<TContext>> |
CosmosAsyncContainer.executeBulkOperations(Flux<CosmosItemOperation> operations)
Executes flux of operations in Bulk.
|
<TContext> Flux<CosmosBulkOperationResponse<TContext>> |
CosmosAsyncContainer.executeBulkOperations(Flux<CosmosItemOperation> operations,
CosmosBulkExecutionOptions bulkOptions)
Executes flux of operations in Bulk.
|
<TContext> Iterable<CosmosBulkOperationResponse<TContext>> |
CosmosContainer.executeBulkOperations(Iterable<CosmosItemOperation> operations)
Executes list of operations in Bulk.
|
<TContext> Iterable<CosmosBulkOperationResponse<TContext>> |
CosmosContainer.executeBulkOperations(Iterable<CosmosItemOperation> operations,
CosmosBulkExecutionOptions bulkOptions)
Executes list of operations in Bulk.
|
CosmosBatchResponse |
CosmosContainer.executeCosmosBatch(CosmosBatch cosmosBatch)
Executes the transactional batch.
|
Mono<CosmosBatchResponse> |
CosmosAsyncContainer.executeCosmosBatch(CosmosBatch cosmosBatch)
Executes the transactional batch.
|
CosmosBatchResponse |
CosmosContainer.executeCosmosBatch(CosmosBatch cosmosBatch,
CosmosBatchRequestOptions requestOptions)
Executes the transactional batch.
|
Mono<CosmosBatchResponse> |
CosmosAsyncContainer.executeCosmosBatch(CosmosBatch cosmosBatch,
CosmosBatchRequestOptions requestOptions)
Executes the transactional batch.
|
TransactionalBatchResponse |
CosmosContainer.executeTransactionalBatch(TransactionalBatch transactionalBatch)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosContainer.executeCosmosBatch(CosmosBatch)
- CosmosContainer.executeCosmosBatch(CosmosBatch, CosmosBatchRequestOptions) |
Mono<TransactionalBatchResponse> |
CosmosAsyncContainer.executeTransactionalBatch(TransactionalBatch transactionalBatch)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosAsyncContainer.executeCosmosBatch(CosmosBatch)
- CosmosAsyncContainer.executeCosmosBatch(CosmosBatch, CosmosBatchRequestOptions) |
TransactionalBatchResponse |
CosmosContainer.executeTransactionalBatch(TransactionalBatch transactionalBatch,
TransactionalBatchRequestOptions requestOptions)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosContainer.executeCosmosBatch(CosmosBatch)
- CosmosContainer.executeCosmosBatch(CosmosBatch, CosmosBatchRequestOptions) |
Mono<TransactionalBatchResponse> |
CosmosAsyncContainer.executeTransactionalBatch(TransactionalBatch transactionalBatch,
TransactionalBatchRequestOptions requestOptions)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosAsyncContainer.executeCosmosBatch(CosmosBatch)
- CosmosAsyncContainer.executeCosmosBatch(CosmosBatch, CosmosBatchRequestOptions) |
String |
CosmosBulkItemResponse.getActivityId()
Deprecated.
|
String |
TransactionalBatchResponse.getActivityId()
Deprecated.
|
TContext |
BulkProcessingOptions.getBatchContext()
Deprecated.
|
TContext |
CosmosBulkOperationResponse.getBatchContext()
Deprecated.
|
CosmosAsyncClientEncryptionKey |
CosmosAsyncDatabase.getClientEncryptionKey(String id)
Gets a CosmosAsyncClientEncryptionKey object without making a service call
|
CosmosClientEncryptionKey |
CosmosDatabase.getClientEncryptionKey(String id)
Gets a CosmosClientEncryptionKey object without making a service call
|
Duration |
GlobalThroughputControlConfig.getControlItemExpireInterval()
Get the control item expire interval.
|
Duration |
GlobalThroughputControlConfig.getControlItemRenewInterval()
Get the control item renew interval.
|
CosmosDiagnostics |
CosmosBulkItemResponse.getCosmosDiagnostics()
Deprecated.
|
static <T> CosmosItemOperation |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey)
Deprecated.
|
static <T> CosmosItemOperation |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Deprecated.
|
static <T,TContext> |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <T,TContext> |
BulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Deprecated.
|
Mono<List<ChangeFeedProcessorState>> |
ChangeFeedProcessor.getCurrentState()
Returns a read only list of states each representing one scoped worker item.
|
static CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey)
Deprecated.
|
static CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Deprecated.
|
CosmosDiagnostics |
TransactionalBatchResponse.getDiagnostics()
Deprecated.
|
Duration |
CosmosBulkItemResponse.getDuration()
Deprecated.
|
Duration |
TransactionalBatchResponse.getDuration()
Deprecated.
|
String |
TransactionalBatchResponse.getErrorMessage()
Deprecated.
|
String |
CosmosBulkItemResponse.getETag()
Deprecated.
|
String |
TransactionalBatchOperationResult.getETag()
Deprecated.
|
Exception |
CosmosBulkOperationResponse.getException()
Deprecated.
|
List<FeedRange> |
CosmosContainer.getFeedRanges()
Obtains a list of
FeedRange that can be used to parallelize Feed
operations. |
Mono<List<FeedRange>> |
CosmosAsyncContainer.getFeedRanges()
Obtains a list of
FeedRange that can be used to parallelize Feed
operations. |
String |
TransactionalBatchPatchItemRequestOptions.getFilterPredicate()
Deprecated.
|
String |
BulkPatchItemRequestOptions.getFilterPredicate()
Deprecated.
|
String |
ThroughputControlGroupConfig.getGroupName()
Get the throughput control group name.
|
String |
CosmosAsyncClientEncryptionKey.getId()
Get the id of the
CosmosAsyncClientEncryptionKey |
String |
CosmosClientEncryptionKey.getId()
Get the id of the
CosmosClientEncryptionKey |
<T> T |
CosmosBulkItemResponse.getItem(Class<T> type)
Deprecated.
|
<T> T |
TransactionalBatchOperationResult.getItem(Class<T> type)
Deprecated.
|
int |
BulkProcessingOptions.getMaxMicroBatchConcurrency()
Deprecated.
|
int |
BulkExecutionOptions.getMaxMicroBatchConcurrency()
Deprecated.
|
Duration |
BulkProcessingOptions.getMaxMicroBatchInterval()
Deprecated.
|
Duration |
BulkExecutionOptions.getMaxMicroBatchInterval()
Deprecated.
|
int |
BulkProcessingOptions.getMaxMicroBatchSize()
Deprecated.
|
int |
BulkExecutionOptions.getMaxMicroBatchSize()
Deprecated.
|
double |
BulkProcessingOptions.getMaxTargetedMicroBatchRetryRate()
Deprecated.
|
double |
BulkExecutionOptions.getMaxTargetedMicroBatchRetryRate()
Deprecated.
|
double |
BulkProcessingOptions.getMinTargetedMicroBatchRetryRate()
Deprecated.
|
double |
BulkExecutionOptions.getMinTargetedMicroBatchRetryRate()
Deprecated.
|
CosmosItemOperation |
CosmosBulkOperationResponse.getOperation()
Deprecated.
|
CosmosItemOperation |
TransactionalBatchOperationResult.getOperation()
Deprecated.
|
List<CosmosItemOperation> |
TransactionalBatch.getOperations()
Deprecated.
|
PartitionKey |
TransactionalBatch.getPartitionKeyValue()
Deprecated.
|
static CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations)
Deprecated.
|
static CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
BulkPatchItemRequestOptions requestOptions)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
BulkPatchItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
TContext context)
Deprecated.
|
static CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey)
Deprecated.
|
static CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <TContext> CosmosItemOperation |
BulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Deprecated.
|
Set<URI> |
CosmosDiagnostics.getRegionsContacted()
Regions contacted for this request
|
static <T> CosmosItemOperation |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey)
Deprecated.
|
static <T> CosmosItemOperation |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Deprecated.
|
static <T,TContext> |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <T,TContext> |
BulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
TContext context)
Deprecated.
|
double |
CosmosBulkItemResponse.getRequestCharge()
Deprecated.
|
double |
TransactionalBatchResponse.getRequestCharge()
Deprecated.
|
double |
TransactionalBatchOperationResult.getRequestCharge()
Deprecated.
|
CosmosBulkItemResponse |
CosmosBulkOperationResponse.getResponse()
Deprecated.
|
Map<String,String> |
CosmosBulkItemResponse.getResponseHeaders()
Deprecated.
|
Map<String,String> |
TransactionalBatchResponse.getResponseHeaders()
Deprecated.
|
int |
TransactionalBatchResponse.getResponseLength()
Deprecated.
|
List<TransactionalBatchOperationResult> |
TransactionalBatchResponse.getResults()
Deprecated.
|
Duration |
CosmosBulkItemResponse.getRetryAfterDuration()
Deprecated.
|
Duration |
TransactionalBatchResponse.getRetryAfterDuration()
Deprecated.
|
Duration |
TransactionalBatchOperationResult.getRetryAfterDuration()
Deprecated.
|
String |
CosmosBulkItemResponse.getSessionToken()
Deprecated.
|
String |
TransactionalBatchResponse.getSessionToken()
Deprecated.
|
String |
TransactionalBatchRequestOptions.getSessionToken()
Deprecated.
|
int |
CosmosBulkItemResponse.getStatusCode()
Deprecated.
|
int |
TransactionalBatchResponse.getStatusCode()
Deprecated.
|
int |
TransactionalBatchOperationResult.getStatusCode()
Deprecated.
|
int |
CosmosBulkItemResponse.getSubStatusCode()
Deprecated.
|
int |
TransactionalBatchResponse.getSubStatusCode()
Deprecated.
|
int |
TransactionalBatchOperationResult.getSubStatusCode()
Deprecated.
|
Integer |
ThroughputControlGroupConfig.getTargetThroughput()
Get throughput control group target throughput.
|
Double |
ThroughputControlGroupConfig.getTargetThroughputThreshold()
Get the throughput control group target throughput threshold.
|
BulkProcessingThresholds<TContext> |
BulkProcessingOptions.getThresholds()
Deprecated.
|
BulkExecutionThresholds |
BulkExecutionOptions.getThresholds()
Deprecated.
|
static <T> CosmosItemOperation |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey)
Deprecated.
|
static <T> CosmosItemOperation |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions)
Deprecated.
|
static <T,TContext> |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
BulkItemRequestOptions requestOptions,
TContext context)
Deprecated.
|
static <T,TContext> |
BulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Deprecated.
|
CosmosPatchOperations |
CosmosPatchOperations.increment(String path,
double value)
Deprecated.
|
CosmosPatchOperations |
CosmosPatchOperations.increment(String path,
long value)
Deprecated.
|
boolean |
ThroughputControlGroupConfig.isDefault()
Get whether this throughput control group will be used by default.
|
boolean |
CosmosBulkItemResponse.isSuccessStatusCode()
Deprecated.
|
boolean |
TransactionalBatchResponse.isSuccessStatusCode()
Deprecated.
|
boolean |
TransactionalBatchOperationResult.isSuccessStatusCode()
Deprecated.
|
void |
CosmosContainer.openConnectionsAndInitCaches()
Initializes the container by warming up the caches and connections for the current read region.
|
Mono<Void> |
CosmosAsyncContainer.openConnectionsAndInitCaches()
Initializes the container by warming up the caches and connections for the current read region.
|
<T> CosmosItemResponse<T> |
CosmosContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
Class<T> itemType)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, Class)
- CosmosContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, CosmosPatchItemRequestOptions, Class) |
<T> CosmosItemResponse<T> |
CosmosContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
Class<T> itemType)
Run patch operations on an Item.
|
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
Class<T> itemType)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosAsyncContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, Class)
- CosmosAsyncContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, CosmosPatchItemRequestOptions, Class)
After subscription the operation will be performed.
The |
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
Class<T> itemType)
Run patch operations on an Item.
|
<T> CosmosItemResponse<T> |
CosmosContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
CosmosPatchItemRequestOptions options,
Class<T> itemType)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following APIs instead
-
CosmosContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, Class)
- CosmosContainer.patchItem(String, PartitionKey, com.azure.cosmos.models.CosmosPatchOperations, CosmosPatchItemRequestOptions, Class) |
<T> CosmosItemResponse<T> |
CosmosContainer.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,
CosmosPatchItemRequestOptions options,
Class<T> itemType)
Deprecated.
|
<T> Mono<CosmosItemResponse<T>> |
CosmosAsyncContainer.patchItem(String itemId,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
CosmosPatchItemRequestOptions options,
Class<T> itemType)
Run patch operations on an Item.
|
CosmosItemOperation |
TransactionalBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations)
Deprecated.
|
CosmosItemOperation |
TransactionalBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations,
TransactionalBatchPatchItemRequestOptions requestOptions)
Deprecated.
|
<TContext> Flux<CosmosBulkOperationResponse<TContext>> |
CosmosAsyncContainer.processBulkOperations(Flux<CosmosItemOperation> operations)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.executeBulkOperations(Flux)
- CosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions) |
<TContext> Flux<CosmosBulkOperationResponse<TContext>> |
CosmosAsyncContainer.processBulkOperations(Flux<CosmosItemOperation> operations,
BulkExecutionOptions bulkOptions)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.executeBulkOperations(Flux)
- CosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions) |
<TContext> Flux<CosmosBulkOperationResponse<TContext>> |
CosmosAsyncContainer.processBulkOperations(Flux<CosmosItemOperation> operations,
BulkProcessingOptions<TContext> bulkOptions)
Deprecated.
forRemoval = true, since = "4.18"
This overload will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context |
<TContext> List<CosmosBulkOperationResponse<TContext>> |
CosmosContainer.processBulkOperations(Iterable<CosmosItemOperation> operations)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following overloads instead
-
CosmosContainer.executeBulkOperations(Iterable)
- CosmosContainer.executeBulkOperations(Iterable, CosmosBulkExecutionOptions) |
<TContext> List<CosmosBulkOperationResponse<TContext>> |
CosmosContainer.processBulkOperations(Iterable<CosmosItemOperation> operations,
BulkExecutionOptions bulkOptions)
Deprecated.
forRemoval = true, since = "4.19"
This overload will be removed. Please use one of the following overloads instead
-
CosmosContainer.executeBulkOperations(Iterable)
- CosmosContainer.executeBulkOperations(Iterable, CosmosBulkExecutionOptions) |
<TContext> List<CosmosBulkOperationResponse<TContext>> |
CosmosContainer.processBulkOperations(Iterable<CosmosItemOperation> operations,
BulkProcessingOptions<TContext> bulkOptions)
Deprecated.
forRemoval = true, since = "4.18"
This overload will be removed. Please use one of the following overloads instead
-
CosmosContainer.executeBulkOperations(Iterable, CosmosBulkExecutionOptions)
- CosmosContainer.executeBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context |
<T> CosmosPagedIterable<T> |
CosmosContainer.queryChangeFeed(CosmosChangeFeedRequestOptions options,
Class<T> classType)
Query for items in the change feed of the current container using the
CosmosChangeFeedRequestOptions . |
<T> CosmosPagedFlux<T> |
CosmosAsyncContainer.queryChangeFeed(CosmosChangeFeedRequestOptions options,
Class<T> classType)
Query for items in the change feed of the current container using the
CosmosChangeFeedRequestOptions . |
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.queryClientEncryptionKeys(SqlQuerySpec querySpec)
Query for cosmos client encryption keys in a database.
|
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.queryClientEncryptionKeys(SqlQuerySpec querySpec,
CosmosQueryRequestOptions options)
Query for cosmos client encryption keys in a database.
|
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.queryClientEncryptionKeys(String query)
Query for cosmos client encryption keys in a database.
|
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.queryClientEncryptionKeys(String query,
CosmosQueryRequestOptions options)
Query for cosmos client encryption keys in a database.
|
Mono<CosmosClientEncryptionKeyResponse> |
CosmosAsyncClientEncryptionKey.read()
Reads a cosmos client encryption key
|
CosmosClientEncryptionKeyResponse |
CosmosClientEncryptionKey.read()
Reads a cosmos client encryption key
|
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.readAllClientEncryptionKeys()
Reads all cosmos client encryption keys in a database.
|
CosmosPagedIterable<CosmosClientEncryptionKeyProperties> |
CosmosDatabase.readAllClientEncryptionKeys()
Reads all cosmos client encryption keys in a database.
|
CosmosPagedFlux<CosmosClientEncryptionKeyProperties> |
CosmosAsyncDatabase.readAllClientEncryptionKeys(CosmosQueryRequestOptions options)
Reads all cosmos client encryption keys in a database.
|
CosmosItemOperation |
TransactionalBatch.readItemOperation(String id)
Deprecated.
|
CosmosItemOperation |
TransactionalBatch.readItemOperation(String id,
TransactionalBatchItemRequestOptions requestOptions)
Deprecated.
|
CosmosPatchOperations |
CosmosPatchOperations.remove(String path)
Deprecated.
|
Mono<CosmosClientEncryptionKeyResponse> |
CosmosAsyncClientEncryptionKey.replace(CosmosClientEncryptionKeyProperties keyProperties)
Replace a cosmos client encryption key.
|
<T> CosmosPatchOperations |
CosmosPatchOperations.replace(String path,
T value)
Deprecated.
|
<T> CosmosItemOperation |
TransactionalBatch.replaceItemOperation(String id,
T item)
Deprecated.
|
<T> CosmosItemOperation |
TransactionalBatch.replaceItemOperation(String id,
T item,
TransactionalBatchItemRequestOptions requestOptions)
Deprecated.
|
<T> CosmosPatchOperations |
CosmosPatchOperations.set(String path,
T value)
Deprecated.
|
BulkItemRequestOptions |
BulkItemRequestOptions.setContentResponseOnWriteEnabled(Boolean contentResponseOnWriteEnabled)
Deprecated.
|
BulkPatchItemRequestOptions |
BulkPatchItemRequestOptions.setContentResponseOnWriteEnabled(Boolean contentResponseOnWriteEnabled)
Deprecated.
|
GlobalThroughputControlConfigBuilder |
GlobalThroughputControlConfigBuilder.setControlItemExpireInterval(Duration controlItemExpireInterval)
Set the control item expire interval.
|
GlobalThroughputControlConfigBuilder |
GlobalThroughputControlConfigBuilder.setControlItemRenewInterval(Duration controlItemRenewInterval)
Set the control item renew interval.
|
ThroughputControlGroupConfigBuilder |
ThroughputControlGroupConfigBuilder.setDefault(boolean aDefault)
Set whether this throughput control group will be used by default.
|
TransactionalBatchPatchItemRequestOptions |
TransactionalBatchPatchItemRequestOptions.setFilterPredicate(String filterPredicate)
Deprecated.
|
BulkPatchItemRequestOptions |
BulkPatchItemRequestOptions.setFilterPredicate(String filterPredicate)
Deprecated.
|
ThroughputControlGroupConfigBuilder |
ThroughputControlGroupConfigBuilder.setGroupName(String groupName)
Set the throughput control group name.
|
TransactionalBatchPatchItemRequestOptions |
TransactionalBatchPatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Deprecated.
|
BulkItemRequestOptions |
BulkItemRequestOptions.setIfMatchETag(String ifMatchETag)
Deprecated.
|
TransactionalBatchItemRequestOptions |
TransactionalBatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Deprecated.
|
BulkPatchItemRequestOptions |
BulkPatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Deprecated.
|
TransactionalBatchPatchItemRequestOptions |
TransactionalBatchPatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Deprecated.
|
BulkItemRequestOptions |
BulkItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Deprecated.
|
TransactionalBatchItemRequestOptions |
TransactionalBatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Deprecated.
|
BulkPatchItemRequestOptions |
BulkPatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Deprecated.
|
BulkProcessingOptions<TContext> |
BulkProcessingOptions.setMaxMicroBatchConcurrency(int maxMicroBatchConcurrency)
Deprecated.
|
BulkExecutionOptions |
BulkExecutionOptions.setMaxMicroBatchConcurrency(int maxMicroBatchConcurrency)
Deprecated.
|
BulkProcessingOptions<TContext> |
BulkProcessingOptions.setMaxMicroBatchInterval(Duration maxMicroBatchInterval)
Deprecated.
|
BulkExecutionOptions |
BulkExecutionOptions.setMaxMicroBatchInterval(Duration maxMicroBatchInterval)
Deprecated.
|
BulkProcessingOptions<TContext> |
BulkProcessingOptions.setMaxMicroBatchSize(int maxMicroBatchSize)
Deprecated.
|
BulkExecutionOptions |
BulkExecutionOptions.setMaxMicroBatchSize(int maxMicroBatchSize)
Deprecated.
|
TransactionalBatchRequestOptions |
TransactionalBatchRequestOptions.setSessionToken(String sessionToken)
Deprecated.
|
BulkProcessingOptions<TContext> |
BulkProcessingOptions.setTargetedMicroBatchRetryRate(double minRetryRate,
double maxRetryRate)
Deprecated.
|
BulkExecutionOptions |
BulkExecutionOptions.setTargetedMicroBatchRetryRate(double minRetryRate,
double maxRetryRate)
Deprecated.
|
ThroughputControlGroupConfigBuilder |
ThroughputControlGroupConfigBuilder.setTargetThroughput(int targetThroughput)
Set the throughput control group target throughput.
|
ThroughputControlGroupConfigBuilder |
ThroughputControlGroupConfigBuilder.setTargetThroughputThreshold(double targetThroughputThreshold)
Set the throughput control group target throughput threshold.
|
int |
TransactionalBatchResponse.size()
Deprecated.
|
<T> CosmosItemOperation |
TransactionalBatch.upsertItemOperation(T item)
Deprecated.
|
<T> CosmosItemOperation |
TransactionalBatch.upsertItemOperation(T item,
TransactionalBatchItemRequestOptions requestOptions)
Deprecated.
|
Constructor and Description |
---|
BulkExecutionOptions()
Deprecated.
|
BulkExecutionOptions(BulkExecutionThresholds thresholds)
Deprecated.
|
BulkExecutionThresholds()
Deprecated.
|
BulkProcessingOptions()
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Constructor |
BulkProcessingOptions(TContext batchContext)
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Constructor |
BulkProcessingOptions(TContext batchContext,
BulkProcessingThresholds<TContext> thresholds)
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Constructor |
BulkProcessingThresholds()
Deprecated.
forRemoval = true, since = "4.18"
This class is not necessary anymore and will be removed. Please use one of the following overloads instead
-
CosmosAsyncContainer.processBulkOperations(Flux)
- CosmosAsyncContainer.processBulkOperations(Flux, BulkExecutionOptions)
- CosmosContainer.processBulkOperations(Iterable)
- CosmosContainer.processBulkOperations(Iterable, BulkExecutionOptions)
and to pass in a custom context use one of the BulkOperations factory methods allowing to provide
an operation specific context
Constructor |
Modifier and Type | Class and Description |
---|---|
class |
ChangeFeedPolicy
Represents the change feed policy configuration for the container in the Azure Cosmos DB service.
|
class |
ChangeFeedProcessorState
Specifies the
ChangeFeedProcessor state for a particular lease/worker. |
class |
ClientEncryptionIncludedPath
Path that needs encryption and the associated settings within
ClientEncryptionPolicy . |
class |
ClientEncryptionPolicy
Client encryption policy.
|
class |
CosmosBatch
Represents a batch of operations against items with the same
PartitionKey in a container that will be performed
in a Cosmos manner at the Azure Cosmos DB service. |
class |
CosmosBatchItemRequestOptions
Encapsulates options that can be specified for an operation within a
CosmosBatch . |
class |
CosmosBatchOperationResult
Represents a result for a specific operation that was part of a
CosmosBatch request. |
class |
CosmosBatchPatchItemRequestOptions
Encapsulates options that can be specified for an operation within a
CosmosBatch . |
class |
CosmosBatchRequestOptions
Encapsulates options that can be specified for a
CosmosBatch . |
class |
CosmosBatchResponse
Response of a
CosmosBatch request. |
class |
CosmosBulkExecutionOptions
Encapsulates options that can be specified for operations used in Bulk execution.
|
class |
CosmosBulkExecutionThresholdsState
Encapsulates internal state used to dynamically determine max micro batch size for bulk operations.
|
class |
CosmosBulkItemRequestOptions
Encapsulates options that can be specified for an operation used in Bulk execution.
|
class |
CosmosBulkItemResponse
Response of a
CosmosItemOperation request when processed using Bulk by calling
CosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions) . |
class |
CosmosBulkOperationResponse<TContext>
Request, response and the exception(if any) for a
CosmosItemOperation request when processed using Bulk by calling
CosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions) . |
class |
CosmosBulkOperations
Utility for creating bulk operations which can be executed by calling
CosmosAsyncContainer.executeBulkOperations(Flux, CosmosBulkExecutionOptions) . |
class |
CosmosBulkPatchItemRequestOptions
Encapsulates options that can be specified for an patch operation used in Bulk execution.
|
class |
CosmosChangeFeedRequestOptions |
class |
CosmosClientEncryptionKeyProperties
Details of an encryption key for use with the Azure Cosmos DB service.
|
class |
CosmosClientEncryptionKeyResponse
The type Cosmos client encryption key response.
|
interface |
CosmosItemOperation
Encapsulates Cosmos Item Operation
|
class |
CosmosItemOperationType
Depicts type of Cosmos Item Operation
|
class |
CosmosPatchItemRequestOptions
Encapsulates options for
CosmosPatchOperations |
class |
CosmosPatchOperations
Grammar is a super set of this RFC: https://tools.ietf.org/html/rfc6902#section-4.1
Contains a list of Patch operations to be applied on an item.
|
class |
DedicatedGatewayRequestOptions
Dedicated Gateway Request Options
|
class |
EncryptionKeyWrapMetadata
Metadata that a key wrapping provider can use to wrap/unwrap data encryption keys.
|
interface |
FeedRange |
class |
PartitionKeyBuilder |
Modifier and Type | Method and Description |
---|---|
PartitionKeyBuilder |
PartitionKeyBuilder.add(boolean value)
Adds partition value of type boolean
|
PartitionKeyBuilder |
PartitionKeyBuilder.add(double value)
Adds partition value of type double
|
PartitionKeyBuilder |
PartitionKeyBuilder.add(String value)
Adds partition value of type string
|
<T> CosmosPatchOperations |
CosmosPatchOperations.add(String path,
T value)
This performs one of the following functions, depending upon what the target location references:
1.
|
PartitionKeyBuilder |
PartitionKeyBuilder.addNoneValue()
Adds a None Partition Key
|
PartitionKeyBuilder |
PartitionKeyBuilder.addNullValue()
Adds a null partition key value
|
PartitionKey |
PartitionKeyBuilder.build()
Builds a new instance of the type PartitionKey with the specified Partition Key values.
|
static CosmosPatchOperations |
CosmosPatchOperations.create()
Initializes a new instance of
CosmosPatchOperations that will contain operations to be performed on a item atomically. |
static CosmosBatch |
CosmosBatch.createCosmosBatch(PartitionKey partitionKey)
Initializes a new instance of
CosmosBatch
that will contain operations to be performed across multiple items in the container with the provided partition
key in a transactional manner |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromBeginning(FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from the beginning of the change feed |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromContinuation(String continuation)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from a previous continuation |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromNow(FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from the current time - so only events for all future changes will be
retrieved |
static CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.createForProcessingFromPointInTime(Instant pointInTime,
FeedRange feedRange)
Creates a new
CosmosChangeFeedRequestOptions instance to start processing
change feed items from a certain point in time |
static ChangeFeedPolicy |
ChangeFeedPolicy.createFullFidelityPolicy(Duration retentionDuration)
Creates a ChangeFeedPolicy with retention duration for full fidelity processing
|
static ChangeFeedPolicy |
ChangeFeedPolicy.createIncrementalPolicy()
Creates a default ChangeFeedPolicy without retention duration specified.
|
<T> CosmosItemOperation |
CosmosBatch.createItemOperation(T item)
Adds an operation to create an item into the batch.
|
<T> CosmosItemOperation |
CosmosBatch.createItemOperation(T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to create an item into the batch.
|
CosmosItemOperation |
CosmosBatch.deleteItemOperation(String id)
Adds an operation to delete an item into the batch.
|
CosmosItemOperation |
CosmosBatch.deleteItemOperation(String id,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to delete an item into the batch.
|
static FeedRange |
FeedRange.forFullRange()
Creates a range for an entire container
|
static FeedRange |
FeedRange.forLogicalPartition(PartitionKey partitionKey)
Creates a range for a certain logical partition
|
static FeedRange |
FeedRange.fromString(String json)
Creates a range from a previously obtained string representation.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.fullFidelity()
Changes the change feed mode so that the change feed will contain events for creations,
deletes as well as all intermediary snapshots for updates.
|
String |
CosmosBulkItemResponse.getActivityId()
Gets the activity ID that identifies the server request made to execute this operation.
|
String |
CosmosBatchResponse.getActivityId()
Gets the activity ID that identifies the server request made to execute the batch.
|
TContext |
CosmosBulkOperationResponse.getBatchContext() |
ChangeFeedPolicy |
CosmosContainerProperties.getChangeFeedPolicy()
Gets the changeFeedPolicy for this container in the Azure Cosmos DB service.
|
String |
ClientEncryptionIncludedPath.getClientEncryptionKeyId()
Gets the identifier of the Data Encryption Key to be used to encrypt the path.
|
ClientEncryptionPolicy |
CosmosContainerProperties.getClientEncryptionPolicy()
Gets the ClientEncryptionPolicy that is used for encrypting item fields
|
<T> T |
CosmosItemOperation.getContext() |
CosmosDiagnostics |
CosmosBulkItemResponse.getCosmosDiagnostics()
Gets the cosmos diagnostic for this operation.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey)
Instantiate an operation for Creating item in Bulk execution.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for Creating item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for Creating item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getCreateItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for Creating item in Bulk execution.
|
DedicatedGatewayRequestOptions |
CosmosItemRequestOptions.getDedicatedGatewayRequestOptions()
Gets the Dedicated Gateway Request Options
|
DedicatedGatewayRequestOptions |
CosmosQueryRequestOptions.getDedicatedGatewayRequestOptions()
Gets the Dedicated Gateway Request Options
|
static CosmosItemOperation |
CosmosBulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey)
Instantiate an operation for deleting item in Bulk execution.
|
static CosmosItemOperation |
CosmosBulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for deleting item in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for deleting item in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getDeleteItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for deleting item in Bulk execution.
|
CosmosDiagnostics |
CosmosBatchResponse.getDiagnostics()
Gets the diagnostics information for the current request to Azure Cosmos DB service.
|
Duration |
CosmosBulkItemResponse.getDuration()
Gets the end-to-end request latency for the current request to Azure Cosmos DB service.
|
Duration |
CosmosBatchResponse.getDuration()
Gets the end-to-end request latency for the current request to Azure Cosmos DB service.
|
String |
ClientEncryptionIncludedPath.getEncryptionAlgorithm()
Gets the type of encryption algorithm to be performed.
|
String |
CosmosClientEncryptionKeyProperties.getEncryptionAlgorithm()
Gets the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.
|
EncryptionKeyWrapMetadata |
CosmosClientEncryptionKeyProperties.getEncryptionKeyWrapMetadata()
Gets the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.
|
String |
ClientEncryptionIncludedPath.getEncryptionType()
Gets the type of encryption to be performed.
|
String |
CosmosBatchResponse.getErrorMessage()
Gets the reason for the failure of the batch request, if any, or
null . |
String |
CosmosBulkItemResponse.getETag()
Gets the entity tag associated with the current item.
|
String |
CosmosBatchOperationResult.getETag()
Gets the entity tag associated with the current item.
|
String |
CosmosClientEncryptionKeyProperties.getETag()
Get the entity tag associated with the resource.
|
Exception |
CosmosBulkOperationResponse.getException() |
FeedRange |
CosmosChangeFeedRequestOptions.getFeedRange() |
FeedRange |
CosmosQueryRequestOptions.getFeedRange()
Gets the
FeedRange |
String |
CosmosBulkPatchItemRequestOptions.getFilterPredicate()
Gets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
String |
CosmosBatchPatchItemRequestOptions.getFilterPredicate()
Gets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
String |
CosmosPatchItemRequestOptions.getFilterPredicate()
Gets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
Duration |
ChangeFeedPolicy.getFullFidelityRetentionDuration()
Gets the retention duration in which it will be possible to
process change feed events with full fidelity mode (meaning intermediary changes and deletes
will be exposed in change feed).
|
String |
CosmosClientEncryptionKeyProperties.getId()
Gets the name of the resource.
|
String |
CosmosItemOperation.getId() |
String |
CosmosBulkPatchItemRequestOptions.getIfMatchETag()
Gets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
String |
CosmosBulkItemRequestOptions.getIfMatchETag()
Gets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
String |
CosmosBatchPatchItemRequestOptions.getIfMatchETag()
Gets the If-Match (ETag) associated with the operation in CosmosBatch.
|
String |
CosmosBatchItemRequestOptions.getIfMatchETag()
Gets the If-Match (ETag) associated with the operation in CosmosBatch.
|
String |
CosmosBulkPatchItemRequestOptions.getIfNoneMatchETag()
Gets the If-None-Match (ETag) associated with the request in operation in
CosmosItemOperation . |
String |
CosmosBulkItemRequestOptions.getIfNoneMatchETag()
Gets the If-None-Match (ETag) associated with the request in operation in
CosmosItemOperation . |
String |
CosmosBatchPatchItemRequestOptions.getIfNoneMatchETag()
Gets the If-None-Match (ETag) associated with the request in operation in CosmosBatch.
|
String |
CosmosBatchItemRequestOptions.getIfNoneMatchETag()
Gets the If-None-Match (ETag) associated with the request in operation in CosmosBatch.
|
List<ClientEncryptionIncludedPath> |
ClientEncryptionPolicy.getIncludedPaths()
Gets the list of path of the item that need encryption along with path-specific settings.
|
<T> T |
CosmosItemOperation.getItem() |
<T> T |
CosmosBulkItemResponse.getItem(Class<T> type)
Gets the item associated with the current result.
|
<T> T |
CosmosBatchOperationResult.getItem(Class<T> type)
Gets the item associated with the current result.
|
Duration |
DedicatedGatewayRequestOptions.getMaxIntegratedCacheStaleness()
Gets the staleness value associated with the request in the Azure CosmosDB service.
|
int |
CosmosChangeFeedRequestOptions.getMaxItemCount()
Gets the maximum number of items to be returned in the enumeration
operation.
|
int |
CosmosChangeFeedRequestOptions.getMaxPrefetchPageCount()
Gets the maximum number of pages that will be prefetched from the backend asynchronously
in the background.
|
String |
EncryptionKeyWrapMetadata.getName()
Serialized form of metadata.
|
CosmosItemOperation |
CosmosBatchOperationResult.getOperation()
Gets the original operation for this result.
|
CosmosItemOperation |
CosmosBulkOperationResponse.getOperation() |
List<CosmosItemOperation> |
CosmosBatch.getOperations()
Return the list of operation in an unmodifiable instance so no one can change it in the down path.
|
CosmosItemOperationType |
CosmosItemOperation.getOperationType() |
PartitionKey |
CosmosItemOperation.getPartitionKeyValue() |
PartitionKey |
CosmosBatch.getPartitionKeyValue()
Return the partition key for this batch.
|
static CosmosItemOperation |
CosmosBulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations)
Instantiate an operation for a patch in Bulk execution.
|
static CosmosItemOperation |
CosmosBulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
CosmosBulkPatchItemRequestOptions requestOptions)
Instantiate an operation for a patch in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
CosmosBulkPatchItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for a patch in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getPatchItemOperation(String id,
PartitionKey partitionKey,
CosmosPatchOperations cosmosPatchOperations,
TContext context)
Instantiate an operation for a patch in Bulk execution.
|
String |
ClientEncryptionIncludedPath.getPath()
Gets the path to be encrypted.
|
int |
ClientEncryptionPolicy.getPolicyFormatVersion()
Version of the client encryption policy definition.
|
CosmosClientEncryptionKeyProperties |
CosmosClientEncryptionKeyResponse.getProperties()
Gets the cosmos client encryption key properties
|
static CosmosItemOperation |
CosmosBulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey)
Instantiate an operation for read item in Bulk execution.
|
static CosmosItemOperation |
CosmosBulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for read item in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for read item in Bulk execution.
|
static <TContext> CosmosItemOperation |
CosmosBulkOperations.getReadItemOperation(String id,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for read item in Bulk execution.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey)
Instantiate an operation for replace item in Bulk execution.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for replace item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for replace item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getReplaceItemOperation(String id,
T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for replace item in Bulk execution.
|
double |
CosmosBulkItemResponse.getRequestCharge()
Gets the request charge as request units (RU) consumed by the current operation.
|
double |
CosmosBatchOperationResult.getRequestCharge()
Gets the request charge as request units (RU) consumed by the current operation.
|
double |
CosmosBatchResponse.getRequestCharge()
Gets the request charge as request units (RU) consumed by the batch operation.
|
CosmosBulkItemResponse |
CosmosBulkOperationResponse.getResponse() |
Map<String,String> |
CosmosBulkItemResponse.getResponseHeaders()
Gets the headers associated with the response.
|
Map<String,String> |
CosmosBatchResponse.getResponseHeaders()
Gets the headers associated with the response.
|
int |
CosmosBatchResponse.getResponseLength()
Get the length of the response of a batch operation
change it in the down path.
|
List<CosmosBatchOperationResult> |
CosmosBatchResponse.getResults()
Get all the results of the operations in a batch in an unmodifiable instance so no one can
change it in the down path.
|
Duration |
CosmosBulkItemResponse.getRetryAfterDuration()
Gets retry after.
|
Duration |
CosmosBatchOperationResult.getRetryAfterDuration()
Gets retry after.
|
Duration |
CosmosBatchResponse.getRetryAfterDuration()
Gets the amount of time to wait before retrying this or any other request due to throttling.
|
String |
CosmosBulkItemResponse.getSessionToken()
Gets the token used for managing client's consistency requirements.
|
String |
CosmosBatchRequestOptions.getSessionToken()
Gets the token for use with session consistency.
|
String |
CosmosBatchResponse.getSessionToken()
Gets the token used for managing client's consistency requirements.
|
int |
CosmosBulkItemResponse.getStatusCode()
Gets the HTTP status code associated with the current result.
|
int |
CosmosBatchOperationResult.getStatusCode()
Gets the HTTP status code associated with the current result.
|
int |
CosmosBatchResponse.getStatusCode()
Gets the HTTP status code associated with the response.
|
int |
CosmosBulkItemResponse.getSubStatusCode()
Gets sub status code associated with the current result.
|
int |
CosmosBatchOperationResult.getSubStatusCode()
Gets sub status code associated with the current result.
|
int |
CosmosBatchResponse.getSubStatusCode()
Gets the HTTP sub status code associated with the response.
|
CosmosBulkExecutionThresholdsState |
CosmosBulkExecutionOptions.getThresholdsState()
Returns threshold state that can be passed to other CosmosBulkExecutionOptions in the future
|
String |
CosmosItemRequestOptions.getThroughputControlGroupName() |
String |
CosmosChangeFeedRequestOptions.getThroughputControlGroupName()
Get the throughput control group name.
|
String |
CosmosQueryRequestOptions.getThroughputControlGroupName()
Get throughput control group name.
|
Instant |
CosmosClientEncryptionKeyProperties.getTimestamp()
Get the last modified timestamp associated with the resource.
|
String |
EncryptionKeyWrapMetadata.getType()
Serialized form of metadata.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey)
Instantiate an operation for upsert item in Bulk execution.
|
static <T> CosmosItemOperation |
CosmosBulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions)
Instantiate an operation for upsert item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
CosmosBulkItemRequestOptions requestOptions,
TContext context)
Instantiate an operation for upsert item in Bulk execution.
|
static <T,TContext> |
CosmosBulkOperations.getUpsertItemOperation(T item,
PartitionKey partitionKey,
TContext context)
Instantiate an operation for upsert item in Bulk execution.
|
String |
EncryptionKeyWrapMetadata.getValue()
Serialized form of metadata.
|
byte[] |
CosmosClientEncryptionKeyProperties.getWrappedDataEncryptionKey()
Gets the wrapped form of the client encryption key.
|
CosmosPatchOperations |
CosmosPatchOperations.increment(String path,
double value)
This increment the value at the target location.
|
CosmosPatchOperations |
CosmosPatchOperations.increment(String path,
long value)
This increment the value at the target location.
|
Boolean |
CosmosBulkPatchItemRequestOptions.isContentResponseOnWriteEnabled()
Gets the boolean to only return the headers and status code in Cosmos DB response
in case of Create, Update and Delete operations in
CosmosItemOperation . |
Boolean |
CosmosBulkItemRequestOptions.isContentResponseOnWriteEnabled()
Gets the boolean to only return the headers and status code in Cosmos DB response
in case of Create, Update and Delete operations in
CosmosItemOperation . |
boolean |
CosmosChangeFeedRequestOptions.isQuotaInfoEnabled()
Gets the quotaInfoEnabled setting for change feed request in the Azure Cosmos DB database service.
|
boolean |
CosmosBulkItemResponse.isSuccessStatusCode()
Gets a value indicating whether the current operation completed successfully.
|
boolean |
CosmosBatchOperationResult.isSuccessStatusCode()
Gets a value indicating whether the current operation completed successfully.
|
boolean |
CosmosBatchResponse.isSuccessStatusCode()
Returns a value indicating whether the batch was successfully processed.
|
CosmosItemOperation |
CosmosBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations)
Adds a patch operations for an item into the batch.
|
CosmosItemOperation |
CosmosBatch.patchItemOperation(String id,
CosmosPatchOperations cosmosPatchOperations,
CosmosBatchPatchItemRequestOptions requestOptions)
Adds a patch operations for an item into the batch.
|
CosmosItemOperation |
CosmosBatch.readItemOperation(String id)
Adds an operation to read an item into the batch.
|
CosmosItemOperation |
CosmosBatch.readItemOperation(String id,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to read an item into the batch.
|
CosmosPatchOperations |
CosmosPatchOperations.remove(String path)
This removes the value at the target location.
|
<T> CosmosPatchOperations |
CosmosPatchOperations.replace(String path,
T value)
This replaces the value at the target location with a new value.
|
<T> CosmosItemOperation |
CosmosBatch.replaceItemOperation(String id,
T item)
Adds an operation to replace an item into the batch.
|
<T> CosmosItemOperation |
CosmosBatch.replaceItemOperation(String id,
T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to replace an item into the batch.
|
<T> CosmosPatchOperations |
CosmosPatchOperations.set(String path,
T value)
This sets the value at the target location with a new value.
|
CosmosContainerProperties |
CosmosContainerProperties.setChangeFeedPolicy(ChangeFeedPolicy value)
Sets the changeFeedPolicy for this container in the Azure Cosmos DB service.
|
ClientEncryptionIncludedPath |
ClientEncryptionIncludedPath.setClientEncryptionKeyId(String clientEncryptionKeyId)
Sets the identifier of the Data Encryption Key to be used to encrypt the path.
|
CosmosContainerProperties |
CosmosContainerProperties.setClientEncryptionPolicy(ClientEncryptionPolicy value)
Sets the ClientEncryptionPolicy that is used for encrypting item fields
|
CosmosBulkPatchItemRequestOptions |
CosmosBulkPatchItemRequestOptions.setContentResponseOnWriteEnabled(Boolean contentResponseOnWriteEnabled)
Sets the boolean to only return the headers and status code in Cosmos DB response
in case of Create, Update and Delete operations in
CosmosItemOperation . |
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.setContentResponseOnWriteEnabled(Boolean contentResponseOnWriteEnabled)
Sets the boolean to only return the headers and status code in Cosmos DB response
in case of Create, Update and Delete operations in
CosmosItemOperation . |
CosmosItemRequestOptions |
CosmosItemRequestOptions.setDedicatedGatewayRequestOptions(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions)
Sets the Dedicated Gateway Request Options
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setDedicatedGatewayRequestOptions(DedicatedGatewayRequestOptions dedicatedGatewayRequestOptions)
Sets the Dedicated Gateway Request Options
|
ClientEncryptionIncludedPath |
ClientEncryptionIncludedPath.setEncryptionAlgorithm(String encryptionAlgorithm)
Sets the type of encryption algorithm to be performed.
|
CosmosClientEncryptionKeyProperties |
CosmosClientEncryptionKeyProperties.setEncryptionAlgorithm(String encryptionAlgorithm)
Sets the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.
|
CosmosClientEncryptionKeyProperties |
CosmosClientEncryptionKeyProperties.setEncryptionKeyWrapMetadata(EncryptionKeyWrapMetadata encryptionKeyWrapMetadata)
Sets the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.
|
ClientEncryptionIncludedPath |
ClientEncryptionIncludedPath.setEncryptionType(String encryptionType)
Sets the type of encryption to be performed.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setFeedRange(FeedRange feedRange)
Sets the
FeedRange that we want to query |
CosmosBulkPatchItemRequestOptions |
CosmosBulkPatchItemRequestOptions.setFilterPredicate(String filterPredicate)
Sets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
CosmosBatchPatchItemRequestOptions |
CosmosBatchPatchItemRequestOptions.setFilterPredicate(String filterPredicate)
Sets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
CosmosPatchItemRequestOptions |
CosmosPatchItemRequestOptions.setFilterPredicate(String filterPredicate)
Sets the FilterPredicate associated with the request in the Azure Cosmos DB service.
|
CosmosClientEncryptionKeyProperties |
CosmosClientEncryptionKeyProperties.setId(String id)
Sets the name of the resource.
|
CosmosBulkPatchItemRequestOptions |
CosmosBulkPatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in
CosmosItemOperation . |
CosmosBatchPatchItemRequestOptions |
CosmosBatchPatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in CosmosBatch.
|
CosmosBatchItemRequestOptions |
CosmosBatchItemRequestOptions.setIfMatchETag(String ifMatchETag)
Sets the If-Match (ETag) associated with the operation in CosmosBatch.
|
CosmosBulkPatchItemRequestOptions |
CosmosBulkPatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in
CosmosItemOperation . |
CosmosBulkItemRequestOptions |
CosmosBulkItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in
CosmosItemOperation . |
CosmosBatchPatchItemRequestOptions |
CosmosBatchPatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in CosmosBatch.
|
CosmosBatchItemRequestOptions |
CosmosBatchItemRequestOptions.setIfNoneMatchETag(String ifNoneMatchEtag)
Sets the If-None-Match (ETag) associated with the request in operation in CosmosBatch.
|
DedicatedGatewayRequestOptions |
DedicatedGatewayRequestOptions.setMaxIntegratedCacheStaleness(Duration maxIntegratedCacheStaleness)
Sets the staleness value associated with the request in the Azure CosmosDB service.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setMaxItemCount(int maxItemCount)
Sets the maximum number of items to be returned in the enumeration
operation.
|
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setMaxPrefetchPageCount(int maxPrefetchPageCount)
Sets the maximum number of pages that will be prefetched from the backend asynchronously
in the background.
|
ClientEncryptionIncludedPath |
ClientEncryptionIncludedPath.setPath(String path)
Sets the path to be encrypted.
|
void |
CosmosChangeFeedRequestOptions.setQuotaInfoEnabled(boolean quotaInfoEnabled)
Gets the quotaInfoEnabled setting for change feed request in the Azure Cosmos DB database service.
|
CosmosBatchRequestOptions |
CosmosBatchRequestOptions.setSessionToken(String sessionToken)
Sets the token for use with session consistency.
|
void |
CosmosItemRequestOptions.setThroughputControlGroupName(String throughputControlGroupName) |
CosmosChangeFeedRequestOptions |
CosmosChangeFeedRequestOptions.setThroughputControlGroupName(String throughputControlGroupName)
Set the throughput control group name.
|
CosmosQueryRequestOptions |
CosmosQueryRequestOptions.setThroughputControlGroupName(String throughputControlGroupName)
Set the throughput control group name.
|
CosmosClientEncryptionKeyProperties |
CosmosClientEncryptionKeyProperties.setWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey)
Sets the wrapped form of the client encryption key.
|
int |
CosmosBatchResponse.size()
Gets the number of operation results.
|
String |
FeedRange.toString()
Gets a json representation of the feed range - the returned json string can be used
to create a new feed range instance from it - (use factory method fromJsonString to do so)
|
<T> CosmosItemOperation |
CosmosBatch.upsertItemOperation(T item)
Adds an operation to upsert an item into the batch.
|
<T> CosmosItemOperation |
CosmosBatch.upsertItemOperation(T item,
CosmosBatchItemRequestOptions requestOptions)
Adds an operation to upsert an item into the batch.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.