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 aTypeBinder
, which will define aTypeBridge
.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.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description TypeBinderRef
binder
-
-
-
Element Detail
-
binder
TypeBinderRef binder
- Returns:
- A reference to the binder to use.
- See Also:
TypeBinderRef
-
-