Class DocumentSearchResultValuePopulator
- java.lang.Object
-
- de.hybris.platform.commerceservices.search.solrfacetsearch.populators.DocumentSearchResultValuePopulator
-
- All Implemented Interfaces:
Populator<DocumentData<SearchQuery,Document>,SearchResultValueData>
public class DocumentSearchResultValuePopulator extends java.lang.Object implements Populator<DocumentData<SearchQuery,Document>,SearchResultValueData>
Populator that populates the variants in document data from search results.
-
-
Constructor Summary
Constructors Constructor Description DocumentSearchResultValuePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SearchResultValueDataconvertVariant(Document variant, SearchQuery searchQuery)protected java.util.Collection<SearchResultValueData>convertVariants(DocumentData<SearchQuery,Document> source)protected java.util.Map<ClassAttributeAssignmentModel,java.lang.Object>getFeatureValues(DocumentData<SearchQuery,Document> source)protected java.util.Map<java.lang.String,java.lang.Object>getValues(DocumentData<SearchQuery,Document> source)voidpopulate(DocumentData<SearchQuery,Document> source, SearchResultValueData target)Populate the target instance with values from the source instance.protected voidpopulateBasic(DocumentData<SearchQuery,Document> source, SearchResultValueData target)
-
-
-
Method Detail
-
populate
public void populate(DocumentData<SearchQuery,Document> source, SearchResultValueData target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<DocumentData<SearchQuery,Document>,SearchResultValueData>- Parameters:
source- the source objecttarget- the target to fill
-
populateBasic
protected void populateBasic(DocumentData<SearchQuery,Document> source, SearchResultValueData target)
-
getValues
protected java.util.Map<java.lang.String,java.lang.Object> getValues(DocumentData<SearchQuery,Document> source)
-
getFeatureValues
protected java.util.Map<ClassAttributeAssignmentModel,java.lang.Object> getFeatureValues(DocumentData<SearchQuery,Document> source)
-
convertVariants
protected java.util.Collection<SearchResultValueData> convertVariants(DocumentData<SearchQuery,Document> source)
-
convertVariant
protected SearchResultValueData convertVariant(Document variant, SearchQuery searchQuery)
-
-