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:
PojoIndexingDependencyCollectorTypeNode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractPojoIndexingDependencyCollectorDirectValueNode.Metadata
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description <U> PojoIndexingDependencyCollectorTypeNode<? extends U>castedType(PojoRawTypeModel<U> typeModel)abstract voidcollectDependency()PojoIndexingDependencyCollectorTypeNode<V>type()-
Methods inherited from class org.hibernate.search.mapper.pojo.automaticindexing.building.impl.PojoIndexingDependencyCollectorNode
walker
-
-
-
-
Method Detail
-
type
public PojoIndexingDependencyCollectorTypeNode<V> type()
-
castedType
public <U> PojoIndexingDependencyCollectorTypeNode<? extends U> castedType(PojoRawTypeModel<U> typeModel)
-
collectDependency
public abstract void collectDependency()
-
-