| Package | Description |
|---|---|
| com.azure.spring.data.cosmos.core |
This package contains the core classes of cosmos db, includes converters,
query generators and mapping to cosmos entities
|
| com.azure.spring.data.cosmos.repository.query |
This package contains the process cosmos queries
|
| com.azure.spring.data.cosmos.repository.support |
This package contains the support classes of setting up cosmosdb repositories and factories
|
| Modifier and Type | Method and Description |
|---|---|
CosmosContainerProperties |
CosmosTemplate.createContainerIfNotExists(CosmosEntityInformation<?,?> information) |
Mono<CosmosContainerResponse> |
ReactiveCosmosOperations.createContainerIfNotExists(CosmosEntityInformation<?,?> information)
Creates a container if it doesn't already exist
|
CosmosContainerProperties |
CosmosOperations.createContainerIfNotExists(CosmosEntityInformation<?,?> information)
Creates container if not exists
|
Mono<CosmosContainerResponse> |
ReactiveCosmosTemplate.createContainerIfNotExists(CosmosEntityInformation<?,?> information)
Creates a container if it doesn't already exist
|
| Constructor and Description |
|---|
SimpleCosmosEntityMetadata(Class<T> type,
CosmosEntityInformation<T,String> entityInformation)
Initialization
|
SimpleReactiveCosmosEntityMetadata(Class<T> type,
CosmosEntityInformation<T,String> entityInformation)
Initialization
|
| Modifier and Type | Method and Description |
|---|---|
static CosmosEntityInformation<?,?> |
CosmosEntityInformation.getInstance(Class<?> domainClass)
Static Factory
|
| Constructor and Description |
|---|
SimpleCosmosRepository(CosmosEntityInformation<T,ID> metadata,
CosmosOperations dbOperations)
Initialization
|
SimpleReactiveCosmosRepository(CosmosEntityInformation<T,K> metadata,
ReactiveCosmosOperations reactiveCosmosOperations)
Initialization with metadata and reactiveCosmosOperations
|
Copyright © 2021 Microsoft Corporation. All rights reserved.