Class CountQueryGenerator
java.lang.Object
com.azure.spring.data.cosmos.core.generator.AbstractQueryGenerator
com.azure.spring.data.cosmos.core.generator.CountQueryGenerator
- All Implemented Interfaces:
QuerySpecGenerator
Generate count query
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerateCosmos
(CosmosQuery query) Generate the SqlQuerySpec for cosmosDB client.Methods inherited from class com.azure.spring.data.cosmos.core.generator.AbstractQueryGenerator
generateCosmosCountQuery, generateCosmosQuery
-
Constructor Details
-
CountQueryGenerator
public CountQueryGenerator()
-
-
Method Details
-
generateCosmos
Description copied from interface:QuerySpecGenerator
Generate the SqlQuerySpec for cosmosDB client.- Specified by:
generateCosmos
in interfaceQuerySpecGenerator
- Parameters:
query
- tree structured query condition.- Returns:
- SqlQuerySpec executed by cosmos client.
-