Uses of Class
org.hibernate.search.jakarta.batch.core.massindexing.MassIndexingJob.ParametersBuilder
Packages that use MassIndexingJob.ParametersBuilder
-
Uses of MassIndexingJob.ParametersBuilder in org.hibernate.search.jakarta.batch.core.massindexing
Methods in org.hibernate.search.jakarta.batch.core.massindexing that return MassIndexingJob.ParametersBuilderModifier and TypeMethodDescriptionThe HibernateCacheMode
when loading entities.MassIndexingJob.ParametersBuilder.checkpointInterval
(int checkpointInterval) The number of entities to process before triggering the next checkpoint.MassIndexingJob.ParametersBuilder.dropAndCreateSchemaOnStart
(boolean dropAndCreateSchemaOnStart) Specify whether the existing schema should be dropped and created at the beginning of the job.MassIndexingJob.ParametersBuilder.entityFetchSize
(int entityFetchSize) Specifies the fetch size to be used when loading entities from the database.MassIndexingJob.ParametersBuilder.entityManagerFactoryNamespace
(String namespace) The string that allows to select how you want to reference theEntityManagerFactory
.MassIndexingJob.ParametersBuilder.entityManagerFactoryReference
(String reference) The string that will identify theEntityManagerFactory
.MassIndexingJob.ParametersBuilderInitialStep.forEntities
(Class<?> entityType, Class<?>... entityTypes) The entity types to index in this job execution.The entity type to index in this job execution.MassIndexingJob.ParametersBuilder.idFetchSize
(int idFetchSize) Specifies the fetch size to be used when loading primary keys at the step-level.MassIndexingJob.ParametersBuilder.maxResultsPerEntity
(int maxResultsPerEntity) The maximum number of results to load per entity type.MassIndexingJob.ParametersBuilder.maxThreads
(int maxThreads) The maximum number of threads to use for processing the job.MassIndexingJob.ParametersBuilder.mergeSegmentsAfterPurge
(boolean mergeSegmentsAfterPurge) Specify whether the mass indexer should merge segments at the beginning of the job.MassIndexingJob.ParametersBuilder.mergeSegmentsOnFinish
(boolean mergeSegmentsOnFinish) Specify whether the mass indexer should merge segments at the end of the job.MassIndexingJob.ParametersBuilder.purgeAllOnStart
(boolean purgeAllOnStart) Specify whether the existing index should be purged at the beginning of the job.MassIndexingJob.ParametersBuilder.reindexOnly
(String hql, Map<String, ?> parameters) Use a JPQL/HQL conditional expression to limit the entities to be re-indexed.MassIndexingJob.ParametersBuilder.rowsPerPartition
(int rowsPerPartition) The maximum number of rows to process per partition.Define the tenant ID for the job execution.Define the tenant ID for the job execution.