| Package | Description |
|---|---|
| com.azure.spring.data.cosmos.config |
This package contains the classes to configure properties of cosmos db
|
| com.azure.spring.data.cosmos.core |
This package contains the core classes of cosmos db, includes converters,
query generators and mapping to cosmos entities
|
| Modifier and Type | Method and Description |
|---|---|
MappingCosmosConverter |
AbstractCosmosConfiguration.mappingCosmosConverter(CosmosMappingContext cosmosMappingContext)
Declare MappingCosmosConverter bean.
|
| Modifier and Type | Method and Description |
|---|---|
CosmosTemplate |
AbstractCosmosConfiguration.cosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Declare CosmosTemplate bean.
|
ReactiveCosmosTemplate |
AbstractCosmosConfiguration.reactiveCosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Declare ReactiveCosmosTemplate bean.
|
| Modifier and Type | Method and Description |
|---|---|
MappingCosmosConverter |
CosmosOperations.getConverter()
To get converter
|
MappingCosmosConverter |
ReactiveCosmosTemplate.getConverter() |
MappingCosmosConverter |
CosmosTemplate.getConverter() |
MappingCosmosConverter |
ReactiveCosmosOperations.getConverter()
To get converter
|
| Constructor and Description |
|---|
CosmosTemplate(CosmosAsyncClient client,
String databaseName,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Initialization
|
CosmosTemplate(CosmosAsyncClient client,
String databaseName,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter,
org.springframework.data.auditing.IsNewAwareAuditingHandler cosmosAuditingHandler)
Initialization
|
CosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Initialization
|
CosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter,
org.springframework.data.auditing.IsNewAwareAuditingHandler cosmosAuditingHandler)
Initialization
|
ReactiveCosmosTemplate(CosmosAsyncClient client,
String databaseName,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Initialization
|
ReactiveCosmosTemplate(CosmosAsyncClient client,
String databaseName,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter,
org.springframework.data.auditing.IsNewAwareAuditingHandler cosmosAuditingHandler)
Initialization
|
ReactiveCosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter)
Initialization
|
ReactiveCosmosTemplate(CosmosFactory cosmosFactory,
CosmosConfig cosmosConfig,
MappingCosmosConverter mappingCosmosConverter,
org.springframework.data.auditing.IsNewAwareAuditingHandler cosmosAuditingHandler)
Constructor
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.