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 type
V - 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: