Interface EntityConverter
public interface EntityConverter
Can convert an entity before indexing it.
- Author:
- Fabio Massimo Ercoli
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The result of an entity conversion -
Method Summary
Modifier and TypeMethodDescriptionPerform the conversion.org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeIdentifier<?>
Class<?>
-
Method Details
-
targetType
Class<?> targetType()- Returns:
- The type that is supposed to be converted
-
convertedTypeIdentifier
org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeIdentifier<?> convertedTypeIdentifier()- Returns:
- The resulting converted type
-
convert
Perform the conversion.- Parameters:
entity
- The entity to convert- Returns:
- The converted entity
-