Class AbstractPojoIndexingDependencyCollectorDirectValueNode<P,V>
java.lang.Object
org.hibernate.search.mapper.pojo.automaticindexing.building.impl.PojoIndexingDependencyCollectorNode
org.hibernate.search.mapper.pojo.automaticindexing.building.impl.AbstractPojoIndexingDependencyCollectorDirectValueNode<P,V>
- Type Parameters:
P- The property typeV- The extracted value type
- Direct Known Subclasses:
PojoIndexingDependencyCollectorMonomorphicDirectValueNode,PojoIndexingDependencyCollectorPolymorphicDirectValueNode
public abstract class AbstractPojoIndexingDependencyCollectorDirectValueNode<P,V>
extends PojoIndexingDependencyCollectorNode
A node representing a value in a dependency collector.
The role of dependency collectors is to receive the dependencies (paths to values used during indexing)
as an input, and use this information to contribute to
PojoImplicitReindexingResolverNodes.
This involves in particular:
- Resolving the path from one entity to another, "contained" entity
- Resolving the potential concrete type of "containing" entities
- Resolving the potential concrete type of "contained" entities
- Inverting the path from one entity to another using a
PojoAssociationPathInverter - Applying the inverted path to the reindexing resolver builder of the "contained" entity, so that whenever the "contained" entity is modified, the "containing" entity is reindexed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class -
Method Summary
Modifier and TypeMethodDescription<U> PojoIndexingDependencyCollectorTypeNode<? extends U>castedType(PojoRawTypeModel<U> typeModel) abstract voidtype()Methods inherited from class org.hibernate.search.mapper.pojo.automaticindexing.building.impl.PojoIndexingDependencyCollectorNode
walker
-
Method Details
-
type
-
castedType
public <U> PojoIndexingDependencyCollectorTypeNode<? extends U> castedType(PojoRawTypeModel<U> typeModel) -
collectDependency
public abstract void collectDependency()
-