Class AbstractPojoIndexingProcessorTypeNodeBuilder<T,U>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.processing.building.impl.AbstractPojoIndexingProcessorTypeNodeBuilder<T,U>
-
- Type Parameters:
T- The type of expected values.U- The processed type: eitherT, or another type if casting is necessary before processing.
- All Implemented Interfaces:
PojoIndexMappingCollectorTypeNode,PojoMappingCollector
- Direct Known Subclasses:
PojoIndexingProcessorCastedTypeNodeBuilder,PojoIndexingProcessorOriginalTypeNodeBuilder
public abstract class AbstractPojoIndexingProcessorTypeNodeBuilder<T,U> extends Object implements PojoIndexMappingCollectorTypeNode
A builder ofPojoIndexingProcessorOriginalTypeNodeorPojoIndexingProcessorCastedTypeNode.
-
-
Constructor Summary
Constructors Constructor Description AbstractPojoIndexingProcessorTypeNodeBuilder(PojoMappingHelper mappingHelper, IndexBindingContext bindingContext, PojoIdentityMappingCollector identityMappingCollector, Collection<IndexObjectFieldReference> parentIndexObjectReferences)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.building.spi.PojoMappingCollector
failureCollector
-
-
-
-
Constructor Detail
-
AbstractPojoIndexingProcessorTypeNodeBuilder
public AbstractPojoIndexingProcessorTypeNodeBuilder(PojoMappingHelper mappingHelper, IndexBindingContext bindingContext, PojoIdentityMappingCollector identityMappingCollector, Collection<IndexObjectFieldReference> parentIndexObjectReferences)
-
-
Method Detail
-
typeBinder
public void typeBinder(TypeBinder builder, Map<String,Object> params)
- Specified by:
typeBinderin interfacePojoIndexMappingCollectorTypeNode
-
property
public PojoIndexMappingCollectorPropertyNode property(String propertyName)
- Specified by:
propertyin interfacePojoIndexMappingCollectorTypeNode
-
closeOnFailure
public void closeOnFailure()
-
build
public Optional<PojoIndexingProcessor<T>> build(AbstractPojoIndexingDependencyCollectorDirectValueNode<?,T> valueDependencyCollector)
-
build
public Optional<PojoIndexingProcessor<T>> build(PojoIndexingDependencyCollectorTypeNode<U> dependencyCollector)
-
typeAdditionalMetadata
protected PojoTypeAdditionalMetadata typeAdditionalMetadata()
-
toType
protected abstract PojoIndexingDependencyCollectorTypeNode<U> toType(AbstractPojoIndexingDependencyCollectorDirectValueNode<?,T> valueDependencyCollector)
-
doBuild
protected abstract PojoIndexingProcessor<T> doBuild(Collection<IndexObjectFieldReference> parentIndexObjectReferences, PojoIndexingProcessor<? super U> nested)
-
failureCollector
public final ContextualFailureCollector failureCollector()
-
createNested
protected final <T> PojoIndexingProcessor<? super T> createNested(Collection<? extends PojoIndexingProcessor<? super T>> elements)
-
-