public abstract class AbstractReactiveCosmosQuery extends Object implements org.springframework.data.repository.query.RepositoryQuery
| Modifier and Type | Field and Description |
|---|---|
protected ReactiveCosmosOperations |
operations |
| Constructor and Description |
|---|
AbstractReactiveCosmosQuery(ReactiveCosmosQueryMethod method,
ReactiveCosmosOperations operations)
Initialization
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract CosmosQuery |
createQuery(ReactiveCosmosParameterAccessor accessor) |
Object |
execute(Object[] parameters)
Executes the
AbstractReactiveCosmosQuery with the given parameters. |
protected ReactiveCosmosQueryExecution |
getExecution(org.springframework.data.repository.query.ReturnedType returnedType)
Determines the appropriate execution path for a reactive query
|
ReactiveCosmosQueryMethod |
getQueryMethod()
Get method of query
|
protected abstract boolean |
isCountQuery() |
protected abstract boolean |
isDeleteQuery() |
protected abstract boolean |
isExistsQuery() |
protected boolean |
isPageQuery() |
protected final ReactiveCosmosOperations operations
public AbstractReactiveCosmosQuery(ReactiveCosmosQueryMethod method, ReactiveCosmosOperations operations)
method - ReactiveCosmosQueryMethodoperations - ReactiveCosmosOperationspublic Object execute(Object[] parameters)
AbstractReactiveCosmosQuery with the given parameters.execute in interface org.springframework.data.repository.query.RepositoryQueryparameters - must not be null.protected ReactiveCosmosQueryExecution getExecution(org.springframework.data.repository.query.ReturnedType returnedType)
returnedType - The return type of the methodIllegalArgumentException - if execution requires pagingpublic ReactiveCosmosQueryMethod getQueryMethod()
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQueryprotected abstract CosmosQuery createQuery(ReactiveCosmosParameterAccessor accessor)
protected abstract boolean isDeleteQuery()
protected abstract boolean isExistsQuery()
protected abstract boolean isCountQuery()
protected boolean isPageQuery()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.