Interface IndexingDependencyOptionsStep
-
- All Superinterfaces:
PropertyMappingStep
public interface IndexingDependencyOptionsStep extends PropertyMappingStep
The step in an "indexing dependency" definition where optional parameters can be set.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IndexingDependencyOptionsStepderivedFrom(PojoModelPathValueNode pojoModelPath)default IndexingDependencyOptionsStepextractor(String extractorName)IndexingDependencyOptionsStepextractors(ContainerExtractorPath extractorPath)default IndexingDependencyOptionsStepnoExtractors()Indicates that no container extractors should be applied, not even the default ones.IndexingDependencyOptionsStepreindexOnUpdate(ReindexOnUpdate reindexOnUpdate)-
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
-
reindexOnUpdate
IndexingDependencyOptionsStep reindexOnUpdate(ReindexOnUpdate reindexOnUpdate)
- Parameters:
reindexOnUpdate- How indexed entities using the annotated property should be reindexed when the value, or any nested value, is updated.- Returns:
this, for method chaining.- See Also:
IndexingDependency.reindexOnUpdate(),ReindexOnUpdate
-
derivedFrom
IndexingDependencyOptionsStep derivedFrom(PojoModelPathValueNode pojoModelPath)
- Parameters:
pojoModelPath- A path to other values that are used to generate the value of this property.- Returns:
this, for method chaining.- See Also:
IndexingDependency.derivedFrom(),PojoModelPathValueNode,PojoModelPath.ofValue(String),PojoModelPath.ofValue(String, ContainerExtractorPath),PojoModelPath.builder()
-
extractor
default IndexingDependencyOptionsStep extractor(String extractorName)
- Parameters:
extractorName- The name of the container extractor to use.- Returns:
this, for method chaining.- See Also:
IndexingDependency.extraction(),BuiltinContainerExtractors
-
noExtractors
default IndexingDependencyOptionsStep noExtractors()
Indicates that no container extractors should be applied, not even the default ones.- Returns:
this, for method chaining.- See Also:
IndexingDependency.extraction()
-
extractors
IndexingDependencyOptionsStep extractors(ContainerExtractorPath extractorPath)
- Parameters:
extractorPath- AContainerExtractorPath.- Returns:
this, for method chaining.- See Also:
IndexingDependency.extraction(),ContainerExtractorPath
-
-