Annotation Type TypeBinding
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(List.class)
@TypeMapping(processor=@TypeMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.TypeBindingProcessor.class,retrieval=CONSTRUCTOR))
public @interface TypeBinding
Maps a type to index fields using a
TypeBinder
,
which will define a TypeBridge
.
This is a more complicated,
but more powerful alternative to mapping properties to field directly
using field annotations such as GenericField
.
See the reference documentation for more information about bridges in general, and type bridges in particular.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements
-
Element Details
-
binder
TypeBinderRef binder- Returns:
- A reference to the binder to use.
- See Also:
-