Class PojoImplicitReindexingResolverNode<T>
java.lang.Object
org.hibernate.search.mapper.pojo.automaticindexing.impl.PojoImplicitReindexingResolverNode<T>
- Type Parameters:
T- The type of "dirty" objects for which this resolver is able toresolve entities to reindex. This type may be an entity type, an embeddable type, a collection type, ...
- All Implemented Interfaces:
AutoCloseable,ToStringTreeAppendable
- Direct Known Subclasses:
PojoImplicitReindexingResolverCastedTypeNode,PojoImplicitReindexingResolverContainerElementNode,PojoImplicitReindexingResolverDirtinessFilterNode,PojoImplicitReindexingResolverMarkingNode,PojoImplicitReindexingResolverMultiNode,PojoImplicitReindexingResolverOriginalTypeNode,PojoImplicitReindexingResolverPropertyNode
public abstract class PojoImplicitReindexingResolverNode<T>
extends Object
implements AutoCloseable, ToStringTreeAppendable
An node within a
PojoImplicitReindexingResolver.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()static <T> PojoImplicitReindexingResolverNode<T>noOp()abstract voidresolveEntitiesToReindex(PojoReindexingCollector collector, T dirty, PojoImplicitReindexingResolverRootContext context) Add all entities that should be reindexed tocollector, taking into account the given "dirtiness state".toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
appendTo, toStringTree
-
Constructor Details
-
PojoImplicitReindexingResolverNode
public PojoImplicitReindexingResolverNode()
-
-
Method Details
-
toString
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-
resolveEntitiesToReindex
public abstract void resolveEntitiesToReindex(PojoReindexingCollector collector, T dirty, PojoImplicitReindexingResolverRootContext context) Add all entities that should be reindexed tocollector, taking into account the given "dirtiness state".- Parameters:
collector- A collector for entities that should be reindexed.dirty- A value that is dirty to some extent.context- A context representing the root entity, and including in particular information about dirty paths. Resolvers should always pass this context as-is when delegating to other resolvers.
-
noOp
-