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
ConstructorsConstructorDescriptionPartTreeReactiveCosmosQuery
(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations) Initialization -
Method Summary
Modifier and TypeMethodDescriptionprotected CosmosQuery
createQuery
(ReactiveCosmosParameterAccessor accessor) Creates a query.protected boolean
Return whether this is a count query.protected boolean
Return whether this is a deletion query.protected boolean
Return whether this is an exists query.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()Description copied from class:AbstractReactiveCosmosQuery
Return whether this is a deletion query.- Specified by:
isDeleteQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is a deletion query.
-
isExistsQuery
protected boolean isExistsQuery()Description copied from class:AbstractReactiveCosmosQuery
Return whether this is an exists query.- Specified by:
isExistsQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is an exists query.
-
isCountQuery
protected boolean isCountQuery()Description copied from class:AbstractReactiveCosmosQuery
Return whether this is a count query.- Specified by:
isCountQuery
in classAbstractReactiveCosmosQuery
- Returns:
- whether this is a count query.
-