Interface EntityConverter
-
public interface EntityConverter
Can convert an entity before indexing it.- Author:
- Fabio Massimo Ercoli
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
EntityConverter.ConvertedEntity
The result of an entity conversion
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntityConverter.ConvertedEntity
convert(Object entity)
Perform the conversion.org.hibernate.search.mapper.pojo.model.spi.PojoRawTypeIdentifier<?>
convertedTypeIdentifier()
Class<?>
targetType()
-
-
-
Method Detail
-
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
EntityConverter.ConvertedEntity convert(Object entity)
Perform the conversion.- Parameters:
entity
- The entity to convert- Returns:
- The converted entity
-
-