Uses of Class
org.hibernate.search.batch.jsr352.core.massindexing.MassIndexingJob.ParametersBuilder
Packages that use MassIndexingJob.ParametersBuilder
-
Uses of MassIndexingJob.ParametersBuilder in org.hibernate.search.batch.jsr352.core.massindexing
Methods in org.hibernate.search.batch.jsr352.core.massindexing that return MassIndexingJob.ParametersBuilderModifier and TypeMethodDescriptionMassIndexingJob.ParametersBuilder.cacheMode
(org.hibernate.CacheMode cacheMode) The HibernateCacheMode
when loading entities.MassIndexingJob.ParametersBuilder.checkpointInterval
(int checkpointInterval) The number of entities to process before triggering the next checkpoint.MassIndexingJob.ParametersBuilder.entityFetchSize
(int entityFetchSize) Specifies the fetch size to be used when loading entities from 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 lucene index should be purged at the beginning of the job.MassIndexingJob.ParametersBuilder.restrictedBy
(String hql) Use HQL / JPQL to index entities of a target entity type.MassIndexingJob.ParametersBuilder.rowsPerPartition
(int rowsPerPartition) The maximum number of rows to process per partition.MassIndexingJob.ParametersBuilder.sessionClearInterval
(int sessionClearInterval) The number of entities to process before clearing the session.Define the tenant ID for the job execution.