Class SearchMappingBuilder
java.lang.Object
org.infinispan.search.mapper.mapping.SearchMappingBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddEntityType(Class<?> type) Register a type as an entity type with the default name, its class name.addEntityType(Class<?> type, String entityName) Register a type as an entity type with the given name.addEntityTypes(Set<Class<?>> types) build(Optional<SearchIntegration> previousIntegration) introspector(MethodHandles.Lookup lookup) setEntityConverter(EntityConverter entityConverter) setEntityLoader(EntityLoaderFactory<?> entityLoader) setProperties(Map<String, Object> map) setProperty(String name, Object value) setProvidedIdentifierBridge(BeanReference<? extends IdentifierBridge<Object>> providedIdentifierBridge)
-
Method Details
-
introspector
-
programmaticMapping
-
addEntityType
Register a type as an entity type with the default name, its class name.- Parameters:
type- The type to be considered as an entity type.- Returns:
this, for call chaining.
-
addEntityType
Register a type as an entity type with the given name.- Parameters:
type- The type to be considered as an entity type.entityName- The name of the entity.- Returns:
this, for call chaining.
-
addEntityTypes
- Parameters:
types- The types to be considered as entity types.- Returns:
this, for call chaining.
-
setProvidedIdentifierBridge
public SearchMappingBuilder setProvidedIdentifierBridge(BeanReference<? extends IdentifierBridge<Object>> providedIdentifierBridge) -
setEntityLoader
-
setEntityConverter
-
setProperty
-
setProperties
-
build
-