Class DefaultFlexSearchQueryGenerator
java.lang.Object
de.hybris.platform.integrationservices.search.impl.DefaultFlexSearchQueryGenerator
- All Implemented Interfaces:
FlexSearchQueryGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ItemSearchRequest searchRequest) Creates theFlexibleSearchQueryfrom the request sent as a parameter.voidsetQueryBuilderFactory(@NotNull FlexSearchQueryBuilderFactory factory) Injects query builder factory implementation to be used by this generator.
-
Constructor Details
-
DefaultFlexSearchQueryGenerator
public DefaultFlexSearchQueryGenerator()
-
-
Method Details
-
generate
Description copied from interface:FlexSearchQueryGeneratorCreates theFlexibleSearchQueryfrom the request sent as a parameter.- Specified by:
generatein interfaceFlexSearchQueryGenerator- Parameters:
searchRequest-ItemSearchRequestwith the information about the query parameters- Returns:
FlexibleSearchQuerywith the query containing all the parameters resolved to PK's if needed
-
setQueryBuilderFactory
Injects query builder factory implementation to be used by this generator.- Parameters:
factory- factory implementation to use
-