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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for Java