| 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 | Class and Description |
|---|---|
class |
CosmosTemplate
Template class for cosmos db
|
| Modifier and Type | Field and Description |
|---|---|
protected CosmosOperations |
AbstractCosmosQuery.operations |
| Constructor and Description |
|---|
AbstractCosmosQuery(CosmosQueryMethod method,
CosmosOperations operations)
Initialization
|
ContainerExecution(CosmosOperations operations) |
CountExecution(CosmosOperations operations) |
DeleteExecution(CosmosOperations operations) |
ExistsExecution(CosmosOperations operations) |
MultiEntityExecution(CosmosOperations operations) |
PagedExecution(CosmosOperations operations,
org.springframework.data.domain.Pageable pageable) |
PartTreeCosmosQuery(CosmosQueryMethod method,
CosmosOperations operations)
Initialization
|
SingleEntityExecution(CosmosOperations operations,
org.springframework.data.repository.query.ReturnedType returnedType) |
SliceExecution(CosmosOperations operations,
org.springframework.data.domain.Pageable pageable) |
| Modifier and Type | Method and Description |
|---|---|
void |
CosmosRepositoryFactoryBean.setCosmosOperations(CosmosOperations operations)
Set cosmos operation
|
| Constructor and Description |
|---|
CosmosRepositoryFactory(CosmosOperations cosmosOperations)
Initialization
|
SimpleCosmosRepository(CosmosEntityInformation<T,ID> metadata,
CosmosOperations dbOperations)
Initialization
|
StringBasedCosmosQuery(CosmosQueryMethod queryMethod,
CosmosOperations dbOperations)
Constructor
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.