PartTreeCosmosQuery Class

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 CosmosQuery 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 - CosmosQueryMethod
operations - CosmosOperations

Method Details

createQuery

protected CosmosQuery createQuery(CosmosParameterAccessor accessor)

Creates a query.

Overrides:

PartTreeCosmosQuery.createQuery(CosmosParameterAccessor accessor)

Parameters:

accessor

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