Class PartTreeReactiveCosmosQuery
java.lang.Object
com.azure.spring.data.cosmos.repository.query.AbstractReactiveCosmosQuery
com.azure.spring.data.cosmos.repository.query.PartTreeReactiveCosmosQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
Reactive cosmos query class with
PartTree
to parse a String
into a tree or PartTree.OrPart
s
consisting of simple Part
instances in turn.-
Field Summary
Fields inherited from class com.azure.spring.data.cosmos.repository.query.AbstractReactiveCosmosQuery
operations
-
Constructor Summary
ConstructorDescriptionPartTreeReactiveCosmosQuery
(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations) Initialization -
Method Summary
Modifier and TypeMethodDescriptionprotected CosmosQuery
createQuery
(ReactiveCosmosParameterAccessor accessor) Creates a query.protected boolean
protected boolean
protected boolean
Methods inherited from class com.azure.spring.data.cosmos.repository.query.AbstractReactiveCosmosQuery
execute, getExecution, getQueryMethod, isPageQuery
-
Constructor Details
-
PartTreeReactiveCosmosQuery
public PartTreeReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations) Initialization- Parameters:
method
- ReactiveCosmosQueryMethodoperations
- ReactiveCosmosOperations
-
-
Method Details
-
createQuery
Description copied from class:AbstractReactiveCosmosQuery
Creates a query.- Specified by:
createQuery
in classAbstractReactiveCosmosQuery
- Parameters:
accessor
- Reactive Cosmos parameter accessor.- Returns:
- a Cosmos query.
-
isDeleteQuery
protected boolean isDeleteQuery()- Specified by:
isDeleteQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is a deletion query.
-
isExistsQuery
protected boolean isExistsQuery()- Specified by:
isExistsQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is an exists query.
-
isCountQuery
protected boolean isCountQuery()- Specified by:
isCountQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is a count query.
-