Uses of Class
com.azure.spring.data.cosmos.core.query.CosmosQuery
Packages that use 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
Methods in com.azure.spring.data.cosmos.core with parameters of type CosmosQueryModifier and TypeMethodDescription<T> longCosmosOperations.count(CosmosQuery query, String containerName) Count<T> longCosmosTemplate.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 with bulk if PK exists<T> BooleanCosmosOperations.exists(CosmosQuery query, Class<T> domainType, String containerName) Exists<T> BooleanCosmosTemplate.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
Methods in com.azure.spring.data.cosmos.core.generator with parameters of type CosmosQueryModifier and TypeMethodDescriptioncom.azure.cosmos.models.SqlQuerySpecCountQueryGenerator.generateCosmos(CosmosQuery query) com.azure.cosmos.models.SqlQuerySpecFindQuerySpecGenerator.generateCosmos(CosmosQuery query) com.azure.cosmos.models.SqlQuerySpecQuerySpecGenerator.generateCosmos(CosmosQuery query) Generate the SqlQuerySpec for cosmosDB client.protected com.azure.cosmos.models.SqlQuerySpecAbstractQueryGenerator.generateCosmosCountQuery(CosmosQuery query, String queryHead) Generates a Cosmos count query.protected com.azure.cosmos.models.SqlQuerySpecAbstractQueryGenerator.generateCosmosQuery(CosmosQuery query, String queryHead) Generates a Cosmos query. -
Uses of CosmosQuery in com.azure.spring.data.cosmos.core.query
Methods in com.azure.spring.data.cosmos.core.query that return CosmosQueryModifier 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
Methods in com.azure.spring.data.cosmos.repository.query that return CosmosQueryModifier and TypeMethodDescriptionprotected CosmosQueryprotected CosmosQueryprotected abstract CosmosQueryAbstractCosmosQuery.createQuery(CosmosParameterAccessor accessor) Creates a query.protected abstract CosmosQueryAbstractReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor) Creates a query.protected CosmosQueryPartTreeCosmosQuery.createQuery(CosmosParameterAccessor accessor) protected CosmosQueryPartTreeReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor) Methods in com.azure.spring.data.cosmos.repository.query with parameters of type CosmosQueryModifier 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
Methods in com.azure.spring.data.cosmos.repository.support that return CosmosQueryModifier and TypeMethodDescriptionprotected CosmosQueryStringBasedCosmosQuery.createQuery(CosmosParameterAccessor accessor) protected CosmosQueryStringBasedReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor)