Class PojoRuntimePathsBuildingHelper
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.path.impl.PojoRuntimePathsBuildingHelper
-
public final class PojoRuntimePathsBuildingHelper extends Object
A helper dealing with runtime paths, e.g.PojoPathFilterImpl, path ordinals, ...
-
-
Constructor Summary
Constructors Constructor Description PojoRuntimePathsBuildingHelper(PojoPathDefinitionProvider pathDefinitionProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PojoPathFiltercreateFilter(Set<PojoModelPathValueNode> paths)PojoPathFiltercreateFilterForNonNullOrdinals(List<?> list)PojoPathOrdinalspathOrdinals()PojoPathDefinitiontoPathDefinition(PojoModelPathValueNode path)
-
-
-
Constructor Detail
-
PojoRuntimePathsBuildingHelper
public PojoRuntimePathsBuildingHelper(PojoPathDefinitionProvider pathDefinitionProvider)
-
-
Method Detail
-
toPathDefinition
public PojoPathDefinition toPathDefinition(PojoModelPathValueNode path)
-
pathOrdinals
public PojoPathOrdinals pathOrdinals()
-
createFilter
public PojoPathFilter createFilter(Set<PojoModelPathValueNode> paths)
- Parameters:
paths- The set of paths to test for dirtiness. The set must be non-null and non-empty, and the elements must be non-null. Container value extractor paths must be completely resolved:ContainerExtractorPath.defaultExtractors()is an invalid value that must never appear in the given paths.- Returns:
- A filter accepting only the given paths.
-
createFilterForNonNullOrdinals
public PojoPathFilter createFilterForNonNullOrdinals(List<?> list)
-
-