Package org.infinispan.query.backend
Interface SearchWorkCreator
-
public interface SearchWorkCreatorDeprecated.since 10.1.1. To be removed in version 12.0 after migrating to Hibernate Search 6.Creates Work instances that should be performed by Hibernate-Search.- Author:
- Marko Luksa
-
-
Field Summary
Fields Modifier and Type Field Description static SearchWorkCreatorDEFAULTDeprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description org.hibernate.search.backend.spi.WorkcreatePerEntityTypeWork(org.hibernate.search.spi.IndexedTypeIdentifier entityType, org.hibernate.search.backend.spi.WorkType workType)Deprecated.Creates a collection of Work instances that Hibernate-Search should perform for all the entities of the given entity type.org.hibernate.search.backend.spi.WorkcreatePerEntityWork(Serializable id, org.hibernate.search.spi.IndexedTypeIdentifier entityType, org.hibernate.search.backend.spi.WorkType workType)Deprecated.Creates a Work instance for a given entity.org.hibernate.search.backend.spi.WorkcreatePerEntityWork(Object entity, Serializable id, org.hibernate.search.backend.spi.WorkType workType)Deprecated.Creates a collection of Work instances that Hibernate-Search should perform for the given entity
-
-
-
Field Detail
-
DEFAULT
static final SearchWorkCreator DEFAULT
Deprecated.
-
-
Method Detail
-
createPerEntityTypeWork
org.hibernate.search.backend.spi.Work createPerEntityTypeWork(org.hibernate.search.spi.IndexedTypeIdentifier entityType, org.hibernate.search.backend.spi.WorkType workType)Deprecated.Creates a collection of Work instances that Hibernate-Search should perform for all the entities of the given entity type.- Parameters:
entityType- the entity type that these Works should be created forworkType- the type of work to be done- Returns:
- collection of Work instances
-
createPerEntityWork
org.hibernate.search.backend.spi.Work createPerEntityWork(Object entity, Serializable id, org.hibernate.search.backend.spi.WorkType workType)
Deprecated.Creates a collection of Work instances that Hibernate-Search should perform for the given entity- Parameters:
entity- the entity that these Works should be created forid- the id of the documentworkType- the type of work to be done- Returns:
- collection of Work instances
-
createPerEntityWork
org.hibernate.search.backend.spi.Work createPerEntityWork(Serializable id, org.hibernate.search.spi.IndexedTypeIdentifier entityType, org.hibernate.search.backend.spi.WorkType workType)
Deprecated.Creates a Work instance for a given entity.- Parameters:
id- the id of the entityentityType- the entity type that the Work should be created forworkType- the type of the Work to be done- Returns:
- Work instance to be performed by the Hibernate Search engine
-
-