public class StringBasedCosmosQuery extends AbstractCosmosQuery
operations| Constructor and Description |
|---|
StringBasedCosmosQuery(CosmosQueryMethod queryMethod,
CosmosOperations dbOperations)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected CosmosQuery |
createQuery(CosmosParameterAccessor accessor) |
Object |
execute(Object[] parameters)
Executes the
AbstractCosmosQuery with the given parameters. |
protected boolean |
isCountQuery() |
protected boolean |
isDeleteQuery() |
protected boolean |
isExistsQuery() |
getExecution, getQueryMethod, isCollectionQuery, isPageQuery, isSliceQuerypublic StringBasedCosmosQuery(CosmosQueryMethod queryMethod, CosmosOperations dbOperations)
queryMethod - the CosmosQueryMethoddbOperations - the CosmosOperationsprotected CosmosQuery createQuery(CosmosParameterAccessor accessor)
createQuery in class AbstractCosmosQuerypublic Object execute(Object[] parameters)
AbstractCosmosQueryAbstractCosmosQuery with the given parameters.execute in interface org.springframework.data.repository.query.RepositoryQueryexecute in class AbstractCosmosQueryparameters - must not be null.protected boolean isDeleteQuery()
isDeleteQuery in class AbstractCosmosQueryprotected boolean isExistsQuery()
isExistsQuery in class AbstractCosmosQueryprotected boolean isCountQuery()
isCountQuery in class AbstractCosmosQueryVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.