PartTreeCosmosQuery Class
- java.
lang. Object - com.
azure. spring. data. cosmos. repository. query. AbstractCosmosQuery - com.
azure. spring. data. cosmos. repository. query. PartTreeCosmosQuery
- com.
- com.
public class PartTreeCosmosQuery
extends AbstractCosmosQuery
Cosmos query class with PartTree to parse a String into a tree or PartTree.OrParts consisting of simple Part instances in turn.
Constructor Summary
Constructor | Description |
---|---|
PartTreeCosmosQuery(CosmosQueryMethod method, CosmosOperations operations) |
Initialization |
Method Summary
Modifier and Type | Method and Description |
---|---|
protected
Cosmos |
createQuery(CosmosParameterAccessor accessor)
Creates a query. |
protected boolean |
isCountQuery()
Return whether this is a count query. |
protected boolean |
isDeleteQuery()
Return whether this is a deletion query. |
protected boolean |
isExistsQuery()
Return whether this is an exists query. |
Methods inherited from AbstractCosmosQuery
Methods inherited from java.lang.Object
Constructor Details
PartTreeCosmosQuery
public PartTreeCosmosQuery(CosmosQueryMethod method, CosmosOperations operations)
Initialization
Parameters:
Method Details
createQuery
protected CosmosQuery createQuery(CosmosParameterAccessor accessor)
Creates a query.
Overrides:
PartTreeCosmosQuery.createQuery(CosmosParameterAccessor accessor)Parameters:
isCountQuery
protected boolean isCountQuery()
Return whether this is a count query.
Overrides:
PartTreeCosmosQuery.isCountQuery()isDeleteQuery
protected boolean isDeleteQuery()
Return whether this is a deletion query.
Overrides:
PartTreeCosmosQuery.isDeleteQuery()isExistsQuery
protected boolean isExistsQuery()
Return whether this is an exists query.
Overrides:
PartTreeCosmosQuery.isExistsQuery()Applies to
Azure SDK for Java