Class HibernateOrmMassIndexerFilteringTypeStep
- java.lang.Object
-
- org.hibernate.search.mapper.orm.massindexing.impl.HibernateOrmMassIndexerFilteringTypeStep
-
- All Implemented Interfaces:
MassIndexerFilteringTypeStep
- Direct Known Subclasses:
HibernateOrmMassIndexerReindexParameterStep
public class HibernateOrmMassIndexerFilteringTypeStep extends Object implements MassIndexerFilteringTypeStep
-
-
Constructor Summary
Constructors Constructor Description HibernateOrmMassIndexerFilteringTypeStep(HibernateOrmMassIndexer massIndexer, Class<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MassIndexerReindexParameterStepreindexOnly(String conditionalExpression)Use a JPQL/HQL conditional expression to limit the entities to be re-indexed.
-
-
-
Constructor Detail
-
HibernateOrmMassIndexerFilteringTypeStep
public HibernateOrmMassIndexerFilteringTypeStep(HibernateOrmMassIndexer massIndexer, Class<?> type)
-
-
Method Detail
-
reindexOnly
public MassIndexerReindexParameterStep reindexOnly(String conditionalExpression)
Description copied from interface:MassIndexerFilteringTypeStepUse a JPQL/HQL conditional expression to limit the entities to be re-indexed.The letter
eis supposed to be used here as query alias. For instance a valid expression could be the following:e.manager.level < 2To filter instances that have a manager whose level is strictly less than 2.- Specified by:
reindexOnlyin interfaceMassIndexerFilteringTypeStep- Parameters:
conditionalExpression- A JPQL/HQL query text which express the condition to apply- Returns:
- A new step to define optional parameters for the JPQL/HQL conditional expression or other expressions.
-
-