Interface PropertyMappingDocumentIdOptionsStep
- All Superinterfaces:
PropertyMappingStep
The step in a property-to-document-ID mapping where optional parameters can be set.
-
Method Summary
Modifier and TypeMethodDescriptionidentifierBinder
(IdentifierBinder binder) Define an identifier binder, responsible for creating a bridge.identifierBinder
(IdentifierBinder binder, Map<String, Object> params) Define an identifier binder, responsible for creating a bridge.identifierBridge
(Class<? extends IdentifierBridge<?>> bridgeClass) identifierBridge
(BeanReference<? extends IdentifierBridge<?>> bridgeReference) identifierBridge
(IdentifierBridge<?> bridgeInstance) Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.programmatic.PropertyMappingStep
associationInverseSide, binder, binder, documentId, fullTextField, fullTextField, genericField, genericField, hostingType, indexedEmbedded, indexedEmbedded, indexingDependency, keywordField, keywordField, marker, marker, nonStandardField, nonStandardField, scaledNumberField, scaledNumberField, vectorField, vectorField, vectorField, vectorField
-
Method Details
-
identifierBridge
PropertyMappingDocumentIdOptionsStep identifierBridge(Class<? extends IdentifierBridge<?>> bridgeClass) - Parameters:
bridgeClass
- The class of the bridge to use.- Returns:
this
, for method chaining.- See Also:
-
identifierBridge
PropertyMappingDocumentIdOptionsStep identifierBridge(BeanReference<? extends IdentifierBridge<?>> bridgeReference) - Parameters:
bridgeReference
- ABeanReference
pointing to the bridge to use. See the static "ofXXX()" methods ofBeanReference
for details about the various type of references (by name, by type, ...).- Returns:
this
, for method chaining.- See Also:
-
identifierBridge
- Parameters:
bridgeInstance
- A bridge instance to use.- Returns:
this
, for method chaining.- See Also:
-
identifierBinder
Define an identifier binder, responsible for creating a bridge. To pass some parameters to the bridge, use the methodidentifierBinder(IdentifierBinder, Map)
instead.- Parameters:
binder
- AIdentifierBinder
responsible for creating a bridge.- Returns:
this
, for method chaining.- See Also:
-
identifierBinder
PropertyMappingDocumentIdOptionsStep identifierBinder(IdentifierBinder binder, Map<String, Object> params) Define an identifier binder, responsible for creating a bridge. With this method it is possible to pass a set of parameters to the binder.- Parameters:
binder
- AIdentifierBinder
responsible for creating a bridge.params
- The parameters to pass to the binder.- Returns:
this
, for method chaining.- See Also:
-