Interface ProgrammaticMappingConfigurationContext
-
public interface ProgrammaticMappingConfigurationContextA context to configure programmatic mapping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeMappingSteptype(Class<?> clazz)Starts the definition of the mapping of a specific type.TypeMappingSteptype(String typeName)Starts the definition of the mapping of a specific named type.
-
-
-
Method Detail
-
type
TypeMappingStep type(Class<?> clazz)
Starts the definition of the mapping of a specific type.- Parameters:
clazz- The type to map.- Returns:
- The initial step of a DSL where the type mapping can be defined.
-
type
TypeMappingStep type(String typeName)
Starts the definition of the mapping of a specific named type.- Parameters:
typeName- The name of the type. For example for a dynamic, map-based entity type, this would be the entity name.- Returns:
- The initial step of a DSL where the type mapping can be defined.
- Throws:
org.hibernate.search.util.common.SearchException- If the given name does not match any known type.
-
-