Interface StandardDataQueryTransformerService
- All Known Implementing Classes:
StandardDataQueryTransformerServiceImpl
public interface StandardDataQueryTransformerService
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
transformToElasticsearchQuery
(QueryDefinitionModel queryDefinitionModel, Map<String, Object> queryPayload) Transforms the givenQueryDefinitionModel
to an Elasticsearch JSON query, using the provided payload.transformToElasticsearchQueryBuilder
(QueryDefinitionModel queryDefinitionModel, Map<String, Object> queryPayload) Similar totransformToElasticsearchQuery(QueryDefinitionModel, Map)
, but doesn't yet build the JSON for the query.
-
Method Details
-
transformToElasticsearchQuery
com.fasterxml.jackson.databind.JsonNode transformToElasticsearchQuery(QueryDefinitionModel queryDefinitionModel, Map<String, Object> queryPayload) Transforms the givenQueryDefinitionModel
to an Elasticsearch JSON query, using the provided payload. -
transformToElasticsearchQueryBuilder
StandardDataQueryBuilder transformToElasticsearchQueryBuilder(QueryDefinitionModel queryDefinitionModel, Map<String, Object> queryPayload) Similar totransformToElasticsearchQuery(QueryDefinitionModel, Map)
, but doesn't yet build the JSON for the query. This is useful if changes need to be done to the returnedStandardDataQueryBuilder
. For example, when exporting all data of a query, this method is used to reuse the filter part, but change the paging until all data is returned.
-