Interface ValueResolver<T extends ItemModel>
-
- All Known Implementing Classes:
AbstractValueResolver
,BackofficeValueResolver
,BaseProductValueResolver
,CatalogLabelValueResolver
,CatalogPKValueResolver
,CatalogVersionLabelValueResolver
,CatalogVersionPKValueResolver
,CategoryCodeWithCatalogVersionMappingValueResolver
,CollectionValueResolver
,CustomerCouponCodeValueResolver
,DataQualityValueResolver
,DateValueResolver
,EnumValueResolver
,ItemModelLabelValueResolver
,ItemModelPKValueResolver
,ModelAttributesValueResolver
,ProductAttributesValueResolver
,ProductClassificationAttributesValueResolver
,ProductImagesValueResolver
,ProductKeywordsValueResolver
,ProductPricesValueResolver
,ProductPromotionAttributesValueResolver
,ProductUrlsValueResolver
,ProductVendorValueResolver
,ReferenceValueResolver
,SuperCategoriesValueResolver
,TypeCodeValueResolver
,VariantAwareCategoryCodeValueResolver
,VariantAwareCategoryPKValueResolver
public interface ValueResolver<T extends ItemModel>
Implementations of this interface are responsible for resolving the values to be indexed. This interface works at the indexed property level.
- See Also:
TypeValueResolver
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resolve(InputDocument document, IndexerBatchContext batchContext, java.util.Collection<IndexedProperty> indexedProperties, T model)
Resolves the values to be indexed.
-
-
-
Method Detail
-
resolve
void resolve(InputDocument document, IndexerBatchContext batchContext, java.util.Collection<IndexedProperty> indexedProperties, T model) throws FieldValueProviderException
Resolves the values to be indexed. The indexed properties that use the same value resolver are grouped and this method is called once for each one of these groups.- Parameters:
document
- - document that will be indexed, all the resolved values should be added as fields to this documentbatchContext
- - the current indexer batch contextindexedProperties
- - the indexed properties that use the same value resolvermodel
- - the values should be resolved for this model instance- Throws:
FieldValueProviderException
- if an error occurs
-
-