AbstractQueryGenerator Class
- java.
lang. Object - com.
azure. spring. data. cosmos. core. generator. AbstractQueryGenerator
- com.
public abstract class AbstractQueryGenerator
Base class for generating sql query
Constructor Summary
Modifier | Constructor | Description |
---|---|---|
protected | AbstractQueryGenerator() |
Initialization |
Method Summary
Modifier and Type | Method and Description |
---|---|
protected
Sql |
generateCosmosCountQuery(CosmosQuery query, String queryHead)
Generates a Cosmos count query. |
protected
Sql |
generateCosmosQuery(CosmosQuery query, String queryHead)
Generates a Cosmos query. |
Methods inherited from java.lang.Object
Constructor Details
AbstractQueryGenerator
protected AbstractQueryGenerator()
Initialization
Method Details
generateCosmosCountQuery
protected SqlQuerySpec generateCosmosCountQuery(CosmosQuery query, String queryHead)
Generates a Cosmos count query.
Parameters:
query
- the representation for query method.
queryHead
- the query head.
Returns:
the SQL query spec.
generateCosmosQuery
protected SqlQuerySpec generateCosmosQuery(CosmosQuery query, String queryHead)
Generates a Cosmos query.
Parameters:
query
- the representation for query method.
queryHead
- the query head.
Returns:
the SQL query spec.
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