public abstract class AbstractCosmosQuery extends Object implements org.springframework.data.repository.query.RepositoryQuery
| Modifier and Type | Field and Description |
|---|---|
private CosmosQueryMethod |
method |
private CosmosOperations |
operations |
| Constructor and Description |
|---|
AbstractCosmosQuery(CosmosQueryMethod method,
CosmosOperations operations) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DocumentQuery |
createQuery(CosmosParameterAccessor accessor) |
Object |
execute(Object[] parameters) |
private CosmosQueryExecution |
getExecution(CosmosParameterAccessor accessor) |
CosmosQueryMethod |
getQueryMethod() |
protected abstract boolean |
isDeleteQuery() |
protected abstract boolean |
isExistsQuery() |
private final CosmosQueryMethod method
private final CosmosOperations operations
public AbstractCosmosQuery(CosmosQueryMethod method, CosmosOperations operations)
public Object execute(Object[] parameters)
execute in interface org.springframework.data.repository.query.RepositoryQueryprivate CosmosQueryExecution getExecution(CosmosParameterAccessor accessor)
public CosmosQueryMethod getQueryMethod()
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQueryprotected abstract DocumentQuery createQuery(CosmosParameterAccessor accessor)
protected abstract boolean isDeleteQuery()
protected abstract boolean isExistsQuery()
Copyright © 2020 Microsoft. All rights reserved.