你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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