Class PartTreeCosmosQuery
java.lang.Object
com.azure.spring.data.cosmos.repository.query.AbstractCosmosQuery
com.azure.spring.data.cosmos.repository.query.PartTreeCosmosQuery
- All Implemented Interfaces:
org.springframework.data.repository.query.RepositoryQuery
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.AbstractCosmosQuery
operations
-
Constructor Summary
ConstructorDescriptionPartTreeCosmosQuery
(CosmosQueryMethod method, CosmosOperations operations) Initialization -
Method Summary
Modifier and TypeMethodDescriptionprotected CosmosQuery
createQuery
(CosmosParameterAccessor accessor) Creates a query.protected boolean
protected boolean
protected boolean
Methods inherited from class com.azure.spring.data.cosmos.repository.query.AbstractCosmosQuery
execute, getExecution, getQueryMethod, isCollectionQuery, isPageQuery, isSliceQuery
-
Constructor Details
-
PartTreeCosmosQuery
Initialization- Parameters:
method
- CosmosQueryMethodoperations
- CosmosOperations
-
-
Method Details
-
createQuery
Description copied from class:AbstractCosmosQuery
Creates a query.- Specified by:
createQuery
in classAbstractCosmosQuery
- Parameters:
accessor
- Cosmos parameter accessor.- Returns:
- a Cosmos query.
-
isDeleteQuery
protected boolean isDeleteQuery()- Specified by:
isDeleteQuery
in classAbstractCosmosQuery
- Returns:
- whether this is a deletion query.
-
isExistsQuery
protected boolean isExistsQuery()- Specified by:
isExistsQuery
in classAbstractCosmosQuery
- Returns:
- whether this is an exists query.
-
isCountQuery
protected boolean isCountQuery()- Specified by:
isCountQuery
in classAbstractCosmosQuery
- Returns:
- whether this is a count query.
-