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

CountQueryGenerator Class

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
SqlQuerySpec generateCosmos(CosmosQuery query)

Generate the SqlQuerySpec for cosmosDB client.

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