Class PojoIndexModelBinder

java.lang.Object
org.hibernate.search.mapper.pojo.mapping.building.impl.PojoIndexModelBinder

public final class PojoIndexModelBinder extends Object
Binds a mapping to a given entity model and index model by creating the appropriate extractors and bridges.

Also binds the bridges where appropriate: TypeBinder.bind(TypeBindingContext), PropertyBinder.bind(PropertyBindingContext), ValueBinder.bind(ValueBindingContext).

Incidentally, this will also generate the index model, due to bridges contributing to the index model as we bind them.