MPBS - The Java type of the partial build state of the produced mapping.public interface PojoMapperDelegate<MPBS>
| Modifier and Type | Method and Description |
|---|---|
void |
closeOnFailure()
Close any allocated resource.
|
<E> PojoContainedTypeExtendedMappingCollector |
createContainedTypeExtendedMappingCollector(PojoRawTypeModel<E> rawTypeModel,
String entityName) |
<E> PojoIndexedTypeExtendedMappingCollector |
createIndexedTypeExtendedMappingCollector(PojoRawTypeModel<E> rawTypeModel,
String entityName,
String indexName) |
MPBS |
prepareBuild(PojoMappingDelegate mappingDelegate)
Partially build the mapping based on the information provided previously.
|
void closeOnFailure()
This method is called when an error occurs while starting up Hibernate Search. When this method is called, it is guaranteed to be the last call on this object.
<E> PojoIndexedTypeExtendedMappingCollector createIndexedTypeExtendedMappingCollector(PojoRawTypeModel<E> rawTypeModel, String entityName, String indexName)
E - The indexed entity type.rawTypeModel - The raw type model for an indexed entity type,
i.e. a type mapped to an index directly.entityName - The name of the entity type.indexName - The name of the index mapped to this type.<E> PojoContainedTypeExtendedMappingCollector createContainedTypeExtendedMappingCollector(PojoRawTypeModel<E> rawTypeModel, String entityName)
E - The contained entity type.rawTypeModel - The raw type model for a contained entity type,
i.e. a type mapped to indexes only indirectly by indexed-embedding.entityName - The name of the entity type.MPBS prepareBuild(PojoMappingDelegate mappingDelegate)
May only be called once on a given object.
mappingDelegate - A PojoMappingDelegate.Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.