Interface EntityConverter


public interface EntityConverter
Can convert an entity before indexing it.
Author:
Fabio Massimo Ercoli
  • 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