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 aPojoImplicitReindexingResolver.
-
-
Constructor Summary
Constructors Constructor Description PojoImplicitReindexingResolverNode()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract 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".StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
appendTo, toStringTree
-
-
-
-
Method Detail
-
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
public static <T> PojoImplicitReindexingResolverNode<T> noOp()
-
-