| Modifier and Type | Method and Description |
|---|---|
ConsistencyLevel |
RequestOptions.getConsistencyLevel()
Gets the consistency level required for the request.
|
ConsistencyLevel |
ConsistencyPolicy.getDefaultConsistencyLevel()
Get the name of the resource.
|
static ConsistencyLevel |
ConsistencyLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistencyLevel[] |
ConsistencyLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RequestOptions.setConsistencyLevel(ConsistencyLevel consistencyLevel)
Sets the consistency level required for the request.
|
void |
ConsistencyPolicy.setDefaultConsistencyLevel(ConsistencyLevel level)
Set the name of the resource.
|
| Constructor and Description |
|---|
DocumentClient(String serviceEndpoint,
List<Permission> permissionFeed,
ConnectionPolicy connectionPolicy,
ConsistencyLevel desiredConsistencyLevel)
Initializes a new instance of the Microsoft.Azure.Documents.Client.DocumentClient class using the specified
Azure Cosmos DB service endpoint and permissions.
|
DocumentClient(String serviceEndpoint,
List<Permission> permissionFeed,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ConnectionPolicy connectionPolicy,
ConsistencyLevel desiredConsistencyLevel)
Initializes a new instance of the Microsoft.Azure.Documents.Client.DocumentClient class using the specified
Azure Cosmos DB service endpoint and permissions.
|
DocumentClient(String serviceEndpoint,
String masterKey,
ConnectionPolicy connectionPolicy,
ConsistencyLevel desiredConsistencyLevel)
Initializes a new instance of the DocumentClient class using the specified Azure Cosmos DB service endpoint and keys.
|
DocumentClient(String serviceEndpoint,
String masterKey,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ConnectionPolicy connectionPolicy,
ConsistencyLevel desiredConsistencyLevel)
Initializes a new instance of the DocumentClient class using the specified Azure Cosmos DB service endpoint and keys.
|
Copyright © 2018. All rights reserved.