CountQueryGenerator Class
- java.
lang. Object - com.
azure. spring. data. cosmos. core. generator. AbstractQueryGenerator - com.
azure. spring. data. cosmos. core. generator. CountQueryGenerator
- com.
- com.
Implements
public class CountQueryGenerator
extends AbstractQueryGenerator
implements QuerySpecGenerator
Generate count query
Constructor Summary
Constructor | Description |
---|---|
CountQueryGenerator() |
Creates an instance of CountQueryGenerator. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sql |
generateCosmos(CosmosQuery query)
Generate the Sql |
Methods inherited from AbstractQueryGenerator
Methods inherited from java.lang.Object
Constructor Details
CountQueryGenerator
public CountQueryGenerator()
Creates an instance of CountQueryGenerator.
Method Details
generateCosmos
public SqlQuerySpec generateCosmos(CosmosQuery query)
Generate the SqlQuerySpec for cosmosDB client.
Parameters:
query
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java