Class PojoDocumentReferenceProvider
java.lang.Object
org.hibernate.search.mapper.pojo.work.impl.PojoDocumentReferenceProvider
- All Implemented Interfaces:
DocumentReferenceProvider
public final class PojoDocumentReferenceProvider
extends Object
implements DocumentReferenceProvider
-
Constructor Summary
ConstructorsConstructorDescriptionPojoDocumentReferenceProvider(String documentIdentifier, String routingKey, Object entityIdentifier) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
PojoDocumentReferenceProvider
-
-
Method Details
-
identifier
- Specified by:
identifierin interfaceDocumentReferenceProvider- Returns:
- The document identifier.
-
routingKey
- Specified by:
routingKeyin interfaceDocumentReferenceProvider- Returns:
- The routing key.
-
entityIdentifier
- Specified by:
entityIdentifierin interfaceDocumentReferenceProvider- Returns:
- The entity identifier. Used when reporting failures.
-