Class IdentifierBinderToValueBinderAdapter
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.bridge.mapping.programmatic.identifiertovalue.impl.IdentifierBinderToValueBinderAdapter
-
- All Implemented Interfaces:
ValueBinder
public class IdentifierBinderToValueBinderAdapter extends Object implements ValueBinder
An adapter fromIdentifierBindertoValueBinder, used to apply an identifier bridge to create an index field.
-
-
Constructor Summary
Constructors Constructor Description IdentifierBinderToValueBinderAdapter(IdentifierBinder identifierBinder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(ValueBindingContext<?> context)Binds a value to an index field.
-
-
-
Constructor Detail
-
IdentifierBinderToValueBinderAdapter
public IdentifierBinderToValueBinderAdapter(IdentifierBinder identifierBinder)
-
-
Method Detail
-
bind
public void bind(ValueBindingContext<?> context)
Description copied from interface:ValueBinderBinds a value to an index field.The context passed in parameter provides various information about the value being bound. Implementations are expected to take advantage of that information and to call one of the
bridge(...)methods on the context to set the bridge.- Specified by:
bindin interfaceValueBinder- Parameters:
context- A context object providing information about the value being bound, and expecting a call to one of itsbridge(...)methods.
-
-