Uses of Class
com.azure.spring.data.cosmos.core.query.CosmosQuery
Package
Description
This package contains the core classes of cosmos db, includes converters,
query generators and mapping to cosmos entities
This package contains the generator classes of cosmos db
This package contains the query classes of cosmos db document
This package contains the process cosmos queries
This package contains the support classes of setting up cosmosdb repositories and factories
-
Uses of CosmosQuery in com.azure.spring.data.cosmos.core
Modifier and TypeMethodDescription<T> long
CosmosOperations.count
(CosmosQuery query, String containerName) Count<T> long
CosmosTemplate.count
(CosmosQuery query, String containerName) ReactiveCosmosOperations.count
(CosmosQuery query, String containerName) CountReactiveCosmosTemplate.count
(CosmosQuery query, String containerName) Count<T> Iterable<T>
CosmosOperations.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<T> Flux<T>
ReactiveCosmosTemplate.delete
(CosmosQuery query, Class<T> domainType, String containerName) Delete items matching query<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 existReactiveCosmosOperations.exists
(CosmosQuery query, Class<?> domainType, String containerName) ExistsReactiveCosmosTemplate.exists
(CosmosQuery query, Class<?> domainType, String containerName) Exists<T> Iterable<T>
CosmosOperations.find
(CosmosQuery query, Class<T> domainType, String containerName) Find query<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> Flux<T>
ReactiveCosmosTemplate.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) -
Uses of CosmosQuery in com.azure.spring.data.cosmos.core.generator
Modifier and TypeMethodDescriptionCountQueryGenerator.generateCosmos
(CosmosQuery query) FindQuerySpecGenerator.generateCosmos
(CosmosQuery query) QuerySpecGenerator.generateCosmos
(CosmosQuery query) Generate the SqlQuerySpec for cosmosDB client.protected SqlQuerySpec
AbstractQueryGenerator.generateCosmosCountQuery
(CosmosQuery query, String queryHead) Generates a Cosmos count query.protected SqlQuerySpec
AbstractQueryGenerator.generateCosmosQuery
(CosmosQuery query, String queryHead) Generates a Cosmos query. -
Uses of CosmosQuery in com.azure.spring.data.cosmos.core.query
Modifier and TypeMethodDescriptionCosmosQuery.with
(org.springframework.data.domain.Pageable pageable) With SortCosmosQuery.with
(org.springframework.data.domain.Sort sort) With SortCosmosQuery.withLimit
(int limit) To set limit numberCosmosQuery.withOffsetAndLimit
(long offset, int limit) To set limit number and offset number -
Uses of CosmosQuery in com.azure.spring.data.cosmos.repository.query
Modifier and TypeMethodDescriptionprotected CosmosQuery
protected CosmosQuery
protected abstract CosmosQuery
AbstractCosmosQuery.createQuery
(CosmosParameterAccessor accessor) Creates a query.protected abstract CosmosQuery
AbstractReactiveCosmosQuery.createQuery
(ReactiveCosmosParameterAccessor accessor) Creates a query.protected CosmosQuery
PartTreeCosmosQuery.createQuery
(CosmosParameterAccessor accessor) protected CosmosQuery
PartTreeReactiveCosmosQuery.createQuery
(ReactiveCosmosParameterAccessor accessor) Modifier and TypeMethodDescriptionCosmosQueryExecution.ContainerExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.CountExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.DeleteExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.execute
(CosmosQuery query, Class<?> type, String container) Declare an execute function for different operations to callCosmosQueryExecution.ExistsExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.MultiEntityExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.PagedExecution.execute
(CosmosQuery query, Class<?> type, String container) CosmosQueryExecution.SingleEntityExecution.execute
(CosmosQuery query, Class<?> type, String collection) CosmosQueryExecution.SliceExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.ContainerExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.CountExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.DeleteExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.execute
(CosmosQuery query, Class<?> type, String container) Declare an execute function for different operations to callReactiveCosmosQueryExecution.ExistsExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.MultiEntityExecution.execute
(CosmosQuery query, Class<?> type, String container) ReactiveCosmosQueryExecution.SingleEntityExecution.execute
(CosmosQuery query, Class<?> type, String container) -
Uses of CosmosQuery in com.azure.spring.data.cosmos.repository.support
Modifier and TypeMethodDescriptionprotected CosmosQuery
StringBasedCosmosQuery.createQuery
(CosmosParameterAccessor accessor) protected CosmosQuery
StringBasedReactiveCosmosQuery.createQuery
(ReactiveCosmosParameterAccessor accessor)