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() |
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()
Method Details
generateCosmos
public SqlQuerySpec generateCosmos(CosmosQuery query)
Generate the SqlQuerySpec for cosmosDB client.
Parameters: