Uses of Class
com.azure.cosmos.models.CosmosContainerProperties
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of CosmosContainerProperties in com.azure.cosmos
Modifier and TypeMethodDescriptionCosmosAsyncDatabase.queryContainers
(SqlQuerySpec querySpec) Query for cosmos containers in a cosmos database.CosmosAsyncDatabase.queryContainers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query for cosmos containers in a cosmos database.CosmosAsyncDatabase.queryContainers
(String query) Query for cosmos containers in a cosmos database.CosmosAsyncDatabase.queryContainers
(String query, CosmosQueryRequestOptions options) Query for cosmos containers in a cosmos database.CosmosDatabase.queryContainers
(SqlQuerySpec querySpec) Query containers in the current database.CosmosDatabase.queryContainers
(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) Query containers in the current database.CosmosDatabase.queryContainers
(String query) Query containers in the current database.CosmosDatabase.queryContainers
(String query, CosmosQueryRequestOptions options) Query containers iterator.CosmosAsyncDatabase.readAllContainers()
Reads all cosmos containers.CosmosAsyncDatabase.readAllContainers
(CosmosQueryRequestOptions options) Reads all cosmos containers.CosmosDatabase.readAllContainers()
Read all containers in the current database.Modifier and TypeMethodDescriptionCosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties) Creates a Cosmos container.CosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties, CosmosContainerRequestOptions options) Creates a Cosmos container.CosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container with custom throughput properties.CosmosAsyncDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties, CosmosContainerRequestOptions options) Creates a container.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties) Creates a Cosmos container.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties, CosmosContainerRequestOptions options) Creates a Cosmos container while passing additional request options.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container with custom throughput setting.CosmosDatabase.createContainer
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties, CosmosContainerRequestOptions options) Creates a Cosmos container.CosmosAsyncDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties) Creates a Cosmos container if it does not exist on the service.CosmosAsyncDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container if it does not exist on the service.CosmosDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties) Create container if one matching the id in the properties object does not exist.CosmosDatabase.createContainerIfNotExists
(CosmosContainerProperties containerProperties, ThroughputProperties throughputProperties) Creates a Cosmos container if one matching the id in the properties object does not exist.CosmosAsyncContainer.replace
(CosmosContainerProperties containerProperties) Replaces the current container's properties.CosmosAsyncContainer.replace
(CosmosContainerProperties containerProperties, CosmosContainerRequestOptions options) Replaces the current container properties while using non-default request options.CosmosContainer.replace
(CosmosContainerProperties containerProperties) Replaces the current container properties.CosmosContainer.replace
(CosmosContainerProperties containerProperties, CosmosContainerRequestOptions options) Replaces the current container properties while specifying additional options such as If-Match. -
Uses of CosmosContainerProperties in com.azure.cosmos.models
Modifier and TypeMethodDescriptionCosmosContainerResponse.getProperties()
Gets the container propertiesCosmosContainerProperties.setAnalyticalStoreTimeToLiveInSeconds
(Integer timeToLive) Sets the analytical store time to live in seconds for items in a container from the Azure Cosmos DB service.CosmosContainerProperties.setChangeFeedPolicy
(ChangeFeedPolicy value) Sets the changeFeedPolicy for this container in the Azure Cosmos DB service.CosmosContainerProperties.setClientEncryptionPolicy
(ClientEncryptionPolicy value) Sets the ClientEncryptionPolicy that is used for encrypting item fieldsCosmosContainerProperties.setComputedProperties
(Collection<ComputedProperty> computedProperties) Sets the computedProperties for this container in the Azure Cosmos DB service.CosmosContainerProperties.setConflictResolutionPolicy
(ConflictResolutionPolicy value) Sets the conflictResolutionPolicy that is used for resolving conflicting writes on items in different regions, in a container in the Azure Cosmos DB service.CosmosContainerProperties.setDefaultTimeToLiveInSeconds
(Integer timeToLive) Sets the container's default time-to-live value.Sets the name of the resource.CosmosContainerProperties.setIndexingPolicy
(IndexingPolicy indexingPolicy) Sets the container's indexing policyCosmosContainerProperties.setPartitionKeyDefinition
(PartitionKeyDefinition partitionKeyDefinition) Sets the containers's partition key definition.CosmosContainerProperties.setUniqueKeyPolicy
(UniqueKeyPolicy uniqueKeyPolicy) Sets the Containers unique key policyCosmosContainerProperties.setVectorEmbeddingPolicy
(CosmosVectorEmbeddingPolicy value) Sets the Vector Embedding Policy containing paths for embeddings along with path-specific settings for the item used in performing vector search on the items in a collection in the Azure CosmosDB database service.