Class AbstractSingleDocumentIndexingWork
- java.lang.Object
-
- org.hibernate.search.backend.lucene.work.impl.AbstractIndexingWork<Long>
-
- org.hibernate.search.backend.lucene.work.impl.AbstractSingleDocumentIndexingWork
-
- All Implemented Interfaces:
IndexingWork<Long>,SingleDocumentIndexingWork
- Direct Known Subclasses:
AddEntryWork,DeleteEntryWork,UpdateEntryWork
public abstract class AbstractSingleDocumentIndexingWork extends AbstractIndexingWork<Long> implements SingleDocumentIndexingWork
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdocumentIdentifierprotected ObjectentityIdentifierprotected StringentityTypeNameprotected StringtenantId-
Fields inherited from class org.hibernate.search.backend.lucene.work.impl.AbstractIndexingWork
workType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetEntityIdentifier()StringgetEntityTypeName()StringgetQueuingKey()StringtoString()-
Methods inherited from class org.hibernate.search.backend.lucene.work.impl.AbstractIndexingWork
getInfo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.backend.lucene.work.impl.IndexingWork
execute, getInfo
-
-
-
-
Method Detail
-
getEntityTypeName
public String getEntityTypeName()
- Specified by:
getEntityTypeNamein interfaceSingleDocumentIndexingWork
-
getEntityIdentifier
public Object getEntityIdentifier()
- Specified by:
getEntityIdentifierin interfaceSingleDocumentIndexingWork
-
getQueuingKey
public String getQueuingKey()
- Specified by:
getQueuingKeyin interfaceIndexingWork<Long>- Returns:
- A string that will be used to route the work to a specific queue.
Never
null. Works that must be executed in the same relative order they were submitted in (i.e. works pertaining to the same document) should return the same string.
-
-