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
public class PartTreeReactiveCosmosQuery extends AbstractReactiveCosmosQuery
Reactive cosmos query class withPartTreeto parse aStringinto a tree orPartTree.OrParts consisting of simplePartinstances in turn.
-
-
Field Summary
-
Fields inherited from class com.azure.spring.data.cosmos.repository.query.AbstractReactiveCosmosQuery
operations
-
-
Constructor Summary
Constructors Constructor Description PartTreeReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations)Initialization
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CosmosQuerycreateQuery(ReactiveCosmosParameterAccessor accessor)Creates a query.protected booleanisCountQuery()protected booleanisDeleteQuery()protected booleanisExistsQuery()-
Methods inherited from class com.azure.spring.data.cosmos.repository.query.AbstractReactiveCosmosQuery
execute, getExecution, getQueryMethod, isPageQuery
-
-
-
-
Constructor Detail
-
PartTreeReactiveCosmosQuery
public PartTreeReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations)
Initialization- Parameters:
method- ReactiveCosmosQueryMethodoperations- ReactiveCosmosOperations
-
-
Method Detail
-
createQuery
protected CosmosQuery createQuery(ReactiveCosmosParameterAccessor accessor)
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()
- Specified by:
isDeleteQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is a deletion query.
-
isExistsQuery
protected boolean isExistsQuery()
- Specified by:
isExistsQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is an exists query.
-
isCountQuery
protected boolean isCountQuery()
- Specified by:
isCountQueryin classAbstractReactiveCosmosQuery- Returns:
- whether this is a count query.
-
-