Interface PropertyMappingFieldOptionsStep<S extends PropertyMappingFieldOptionsStep<?>>
-
- Type Parameters:
S- The "self" type (the actual exposed type of this step).
- All Superinterfaces:
PropertyMappingStep
- All Known Subinterfaces:
PropertyMappingFullTextFieldOptionsStep,PropertyMappingGenericFieldOptionsStep,PropertyMappingKeywordFieldOptionsStep,PropertyMappingNonFullTextFieldOptionsStep<S>,PropertyMappingScaledNumberFieldOptionsStep,PropertyMappingStandardFieldOptionsStep<S>
public interface PropertyMappingFieldOptionsStep<S extends PropertyMappingFieldOptionsStep<?>> extends PropertyMappingStep
The step in a property-to-index-field mapping where optional parameters can be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Sextractor(String extractorName)Sextractors(ContainerExtractorPath extractorPath)default SnoExtractors()Indicates that no container extractors should be applied, not even the default ones.default SvalueBinder(ValueBinder binder)Define a value binder, responsible for creating a bridge.SvalueBinder(ValueBinder binder, Map<String,Object> params)Define a value binder, responsible for creating a bridge.SvalueBridge(Class<? extends ValueBridge<?,?>> bridgeClass)SvalueBridge(BeanReference<? extends ValueBridge<?,?>> bridgeReference)default SvalueBridge(ValueBridge<?,?> 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
-
-
-
-
Method Detail
-
valueBridge
S valueBridge(Class<? extends ValueBridge<?,?>> bridgeClass)
- Parameters:
bridgeClass- The class of the bridge to use.- Returns:
this, for method chaining.- See Also:
GenericField.valueBridge()
-
valueBridge
S valueBridge(BeanReference<? extends ValueBridge<?,?>> bridgeReference)
- Parameters:
bridgeReference- ABeanReferencepointing to the bridge to use. See the static "ofXXX()" methods ofBeanReferencefor details about the various type of references (by name, by type, ...).- Returns:
this, for method chaining.- See Also:
GenericField.valueBridge()
-
valueBridge
default S valueBridge(ValueBridge<?,?> bridgeInstance)
- Parameters:
bridgeInstance- The bridge instance to use.- Returns:
this, for method chaining.- See Also:
GenericField.valueBridge()
-
valueBinder
default S valueBinder(ValueBinder binder)
Define a value binder, responsible for creating a bridge. To pass some parameters to the bridge, use the methodvalueBinder(ValueBinder, Map)instead.- Parameters:
binder- AValueBinderresponsible for creating a bridge.- Returns:
this, for method chaining.- See Also:
GenericField.valueBinder(),ValueBinder
-
valueBinder
S valueBinder(ValueBinder binder, Map<String,Object> params)
Define a value binder, responsible for creating a bridge. With this method it is possible to pass a set of parameters to the binder.- Parameters:
binder- AValueBinderresponsible for creating a bridge.params- The parameters to pass to the binder.- Returns:
this, for method chaining.- See Also:
ValueBinder
-
extractor
default S extractor(String extractorName)
- Parameters:
extractorName- The name of the container extractor to use.- Returns:
this, for method chaining.- See Also:
GenericField.extraction(),BuiltinContainerExtractors
-
noExtractors
default S noExtractors()
Indicates that no container extractors should be applied, not even the default ones.- Returns:
this, for method chaining.- See Also:
GenericField.extraction()
-
extractors
S extractors(ContainerExtractorPath extractorPath)
- Parameters:
extractorPath- AContainerExtractorPath.- Returns:
this, for method chaining.- See Also:
GenericField.extraction(),ContainerExtractorPath
-
-