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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java