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 to resolve 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
  • Constructor Details

    • PojoImplicitReindexingResolverNode

      public PojoImplicitReindexingResolverNode()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • close

      public abstract void close()
      Specified by:
      close in interface AutoCloseable
    • resolveEntitiesToReindex

      public abstract void resolveEntitiesToReindex(PojoReindexingCollector collector, T dirty, PojoImplicitReindexingResolverRootContext context)
      Add all entities that should be reindexed to collector, 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()