Class PojoMappingConfigurationContextImpl
java.lang.Object
org.hibernate.search.mapper.pojo.mapping.impl.PojoMappingConfigurationContextImpl
- All Implemented Interfaces:
PojoMappingConfigurationContext
public final class PojoMappingConfigurationContextImpl
extends Object
implements PojoMappingConfigurationContext
-
Constructor Summary
ConstructorsConstructorDescriptionPojoMappingConfigurationContextImpl(ContainerExtractorBinder extractorBinder) -
Method Summary
Modifier and TypeMethodDescriptionextractedValueType(PojoTypeModel<?> sourceType, ContainerExtractorPath extractorPath)
-
Constructor Details
-
PojoMappingConfigurationContextImpl
-
-
Method Details
-
extractedValueType
public Optional<PojoTypeModel<?>> extractedValueType(PojoTypeModel<?> sourceType, ContainerExtractorPath extractorPath) - Specified by:
extractedValueTypein interfacePojoMappingConfigurationContext- Parameters:
sourceType- A source type, typically a container type such as Collection.extractorPath- A container extractor path, possibly justContainerExtractorPath.defaultExtractors().- Returns:
- The type of values extracted from the given source type with the given container extractor path,
or
Optional.empty()if the path cannot be applied.
-