Class AggregationToSearchAggregationConverter
- java.lang.Object
-
- com.adobe.cq.commerce.core.search.internal.converters.AggregationToSearchAggregationConverter
-
- All Implemented Interfaces:
Function<com.adobe.cq.commerce.magento.graphql.Aggregation,SearchAggregation>
public class AggregationToSearchAggregationConverter extends Object implements Function<com.adobe.cq.commerce.magento.graphql.Aggregation,SearchAggregation>
-
-
Constructor Summary
Constructors Constructor Description AggregationToSearchAggregationConverter(Map<String,String> appliedFilters, List<FilterAttributeMetadata> availableFilters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchAggregation
apply(com.adobe.cq.commerce.magento.graphql.Aggregation aggregation)
Map<String,String>
getRemoveFilters(com.adobe.cq.commerce.magento.graphql.Aggregation aggregation, Map<String,String> appliedFilters)
-
-
-
Constructor Detail
-
AggregationToSearchAggregationConverter
public AggregationToSearchAggregationConverter(Map<String,String> appliedFilters, List<FilterAttributeMetadata> availableFilters)
-
-
Method Detail
-
apply
public SearchAggregation apply(com.adobe.cq.commerce.magento.graphql.Aggregation aggregation)
- Specified by:
apply
in interfaceFunction<com.adobe.cq.commerce.magento.graphql.Aggregation,SearchAggregation>
-
-