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.OrParts
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 CosmosQuerycreateQuery(ReactiveCosmosParameterAccessor accessor) Creates a query.protected booleanReturn whether this is a count query.protected booleanReturn whether this is a deletion query.protected booleanReturn 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:AbstractReactiveCosmosQueryCreates a query.- Specified by:
createQueryin classAbstractReactiveCosmosQuery- Parameters:
accessor- Reactive Cosmos parameter accessor.- Returns:
- a Cosmos query.
-
isDeleteQuery
protected boolean isDeleteQuery()Description copied from class:AbstractReactiveCosmosQueryReturn whether this is a deletion query.- Specified by:
isDeleteQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is a deletion query.
-
isExistsQuery
protected boolean isExistsQuery()Description copied from class:AbstractReactiveCosmosQueryReturn whether this is an exists query.- Specified by:
isExistsQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is an exists query.
-
isCountQuery
protected boolean isCountQuery()Description copied from class:AbstractReactiveCosmosQueryReturn whether this is a count query.- Specified by:
isCountQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is a count query.
-