PartTreeReactiveCosmosQuery Class

public class PartTreeReactiveCosmosQuery
extends AbstractReactiveCosmosQuery

Reactive 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
PartTreeReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations)

Initialization

Method Summary

Modifier and Type Method and Description
protected CosmosQuery createQuery(ReactiveCosmosParameterAccessor 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 AbstractReactiveCosmosQuery

Methods inherited from java.lang.Object

Constructor Details

PartTreeReactiveCosmosQuery

public PartTreeReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations)

Initialization

Parameters:

method - ReactiveCosmosQueryMethod
operations - ReactiveCosmosOperations

Method Details

createQuery

protected CosmosQuery createQuery(ReactiveCosmosParameterAccessor accessor)

Creates a query.

Overrides:

PartTreeReactiveCosmosQuery.createQuery(ReactiveCosmosParameterAccessor accessor)

Parameters:

accessor

isCountQuery

protected boolean isCountQuery()

Return whether this is a count query.

Overrides:

PartTreeReactiveCosmosQuery.isCountQuery()

isDeleteQuery

protected boolean isDeleteQuery()

Return whether this is a deletion query.

Overrides:

PartTreeReactiveCosmosQuery.isDeleteQuery()

isExistsQuery

protected boolean isExistsQuery()

Return whether this is an exists query.

Overrides:

PartTreeReactiveCosmosQuery.isExistsQuery()

Applies to