Class AbstractQueryGenerator
- java.lang.Object
-
- com.azure.spring.data.cosmos.core.generator.AbstractQueryGenerator
-
- Direct Known Subclasses:
CountQueryGenerator,FindQuerySpecGenerator
public abstract class AbstractQueryGenerator extends Object
Base class for generating sql query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractQueryGenerator()Initialization
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SqlQuerySpecgenerateCosmosQuery(CosmosQuery query, String queryHead)Generates a Cosmos query.
-
-
-
Method Detail
-
generateCosmosQuery
protected SqlQuerySpec generateCosmosQuery(@NonNull CosmosQuery query, @NonNull String queryHead)
Generates a Cosmos query.- Parameters:
query- the representation for query method.queryHead- the query head.- Returns:
- the SQL query spec.
-
-