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 S
extractor(String extractorName)
S
extractors(ContainerExtractorPath extractorPath)
default S
noExtractors()
Indicates that no container extractors should be applied, not even the default ones.S
valueBinder(ValueBinder binder)
S
valueBridge(Class<? extends ValueBridge<?,?>> bridgeClass)
S
valueBridge(BeanReference<? extends ValueBridge<?,?>> bridgeReference)
default S
valueBridge(ValueBridge<?,?> bridgeInstance)
-
Methods inherited from interface org.hibernate.search.mapper.pojo.mapping.definition.programmatic.PropertyMappingStep
associationInverseSide, binder, documentId, fullTextField, fullTextField, genericField, genericField, hostingType, indexedEmbedded, indexedEmbedded, indexingDependency, keywordField, keywordField, 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
- 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:
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
S valueBinder(ValueBinder binder)
- Parameters:
binder
- AValueBinder
responsible for creating a bridge.- Returns:
this
, for method chaining.- See Also:
GenericField.valueBinder()
,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
-
-