| 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.core.generator |
This package contains the generator classes of cosmos db
|
| com.azure.spring.data.cosmos.core.query |
This package contains the query classes of cosmos db document
|
| 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 |
|---|---|
Mono<Long> |
ReactiveCosmosTemplate.count(CosmosQuery query,
String containerName)
Count
|
Mono<Long> |
ReactiveCosmosOperations.count(CosmosQuery query,
String containerName)
Count
|
<T> long |
CosmosOperations.count(CosmosQuery query,
String containerName)
Count
|
<T> long |
CosmosTemplate.count(CosmosQuery query,
String containerName) |
<T> Iterable<T> |
CosmosOperations.delete(CosmosQuery query,
Class<T> domainType,
String containerName)
Delete items matching query
|
<T> Flux<T> |
ReactiveCosmosTemplate.delete(CosmosQuery query,
Class<T> domainType,
String containerName)
Delete items matching query
|
<T> Iterable<T> |
CosmosTemplate.delete(CosmosQuery query,
Class<T> domainType,
String containerName)
Delete the DocumentQuery, need to query the domains at first, then delete the item from the result.
|
<T> Flux<T> |
ReactiveCosmosOperations.delete(CosmosQuery query,
Class<T> domainType,
String containerName)
Delete items matching query
|
Mono<Boolean> |
ReactiveCosmosTemplate.exists(CosmosQuery query,
Class<?> domainType,
String containerName)
Exists
|
Mono<Boolean> |
ReactiveCosmosOperations.exists(CosmosQuery query,
Class<?> domainType,
String containerName)
Exists
|
<T> Boolean |
CosmosOperations.exists(CosmosQuery query,
Class<T> domainType,
String containerName)
Exists
|
<T> Boolean |
CosmosTemplate.exists(CosmosQuery query,
Class<T> domainType,
String containerName)
Checks if document query items exist
|
<T> Iterable<T> |
CosmosOperations.find(CosmosQuery query,
Class<T> domainType,
String containerName)
Find query
|
<T> Flux<T> |
ReactiveCosmosTemplate.find(CosmosQuery query,
Class<T> domainType,
String containerName)
Find items
|
<T> Iterable<T> |
CosmosTemplate.find(CosmosQuery query,
Class<T> domainType,
String containerName)
Finds the document query items
|
<T> Flux<T> |
ReactiveCosmosOperations.find(CosmosQuery query,
Class<T> domainType,
String containerName)
Find items
|
<T> org.springframework.data.domain.Page<T> |
CosmosOperations.paginationQuery(CosmosQuery query,
Class<T> domainType,
String containerName)
Pagination query
|
<T> org.springframework.data.domain.Page<T> |
CosmosTemplate.paginationQuery(CosmosQuery query,
Class<T> domainType,
String containerName) |
<T> org.springframework.data.domain.Slice<T> |
CosmosOperations.sliceQuery(CosmosQuery query,
Class<T> domainType,
String containerName)
Slice query
|
<T> org.springframework.data.domain.Slice<T> |
CosmosTemplate.sliceQuery(CosmosQuery query,
Class<T> domainType,
String containerName) |
| Modifier and Type | Method and Description |
|---|---|
SqlQuerySpec |
CountQueryGenerator.generateCosmos(CosmosQuery query) |
SqlQuerySpec |
FindQuerySpecGenerator.generateCosmos(CosmosQuery query) |
SqlQuerySpec |
QuerySpecGenerator.generateCosmos(CosmosQuery query)
Generate the SqlQuerySpec for cosmosDB client.
|
protected SqlQuerySpec |
AbstractQueryGenerator.generateCosmosQuery(CosmosQuery query,
String queryHead) |
| Modifier and Type | Method and Description |
|---|---|
CosmosQuery |
CosmosQuery.with(org.springframework.data.domain.Pageable pageable)
With Sort
|
CosmosQuery |
CosmosQuery.with(org.springframework.data.domain.Sort sort)
With Sort
|
| Modifier and Type | Method and Description |
|---|---|
protected CosmosQuery |
ReactiveCosmosQueryCreator.complete(Criteria criteria,
org.springframework.data.domain.Sort sort) |
protected CosmosQuery |
CosmosQueryCreator.complete(Criteria criteria,
org.springframework.data.domain.Sort sort) |
protected CosmosQuery |
PartTreeCosmosQuery.createQuery(CosmosParameterAccessor accessor) |
protected abstract CosmosQuery |
AbstractCosmosQuery.createQuery(CosmosParameterAccessor accessor) |
protected abstract CosmosQuery |
AbstractReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor) |
protected CosmosQuery |
PartTreeReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
ReactiveCosmosQueryExecution.execute(CosmosQuery query,
Class<?> type,
String container)
Declare an execute function for different operations to call
|
Object |
ReactiveCosmosQueryExecution.ContainerExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
ReactiveCosmosQueryExecution.MultiEntityExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
ReactiveCosmosQueryExecution.SingleEntityExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
ReactiveCosmosQueryExecution.ExistsExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
ReactiveCosmosQueryExecution.DeleteExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
ReactiveCosmosQueryExecution.CountExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.execute(CosmosQuery query,
Class<?> type,
String container)
Declare an execute function for different operations to call
|
Object |
CosmosQueryExecution.ContainerExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.MultiEntityExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.SingleEntityExecution.execute(CosmosQuery query,
Class<?> type,
String collection) |
Object |
CosmosQueryExecution.ExistsExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.DeleteExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.PagedExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.SliceExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
Object |
CosmosQueryExecution.CountExecution.execute(CosmosQuery query,
Class<?> type,
String container) |
| Modifier and Type | Method and Description |
|---|---|
protected CosmosQuery |
StringBasedCosmosQuery.createQuery(CosmosParameterAccessor accessor) |
protected CosmosQuery |
StringBasedReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor) |
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.