Class MassIndexingJob.ParametersBuilderInitialStep

java.lang.Object
org.hibernate.search.jakarta.batch.core.massindexing.MassIndexingJob.ParametersBuilderInitialStep
Enclosing class:
MassIndexingJob

public static class MassIndexingJob.ParametersBuilderInitialStep extends Object
  • Method Details

    • forEntity

      public MassIndexingJob.ParametersBuilder forEntity(Class<?> entityType)
      The entity type to index in this job execution.
      Parameters:
      entityType - the type of entity to index
      Returns:
      itself
    • forEntities

      public MassIndexingJob.ParametersBuilder forEntities(Class<?> entityType, Class<?>... entityTypes)
      The entity types to index in this job execution.
      Parameters:
      entityType - the first type of entity to index, must not be null
      entityTypes - the remaining types of entity to index
      Returns:
      itself