Class PojoPathsDefinitionAdapter
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.path.impl.PojoPathsDefinitionAdapter
-
- All Implemented Interfaces:
PojoPathDefinitionProvider
public final class PojoPathsDefinitionAdapter extends Object implements PojoPathDefinitionProvider
-
-
Constructor Summary
Constructors Constructor Description PojoPathsDefinitionAdapter(PojoPathsDefinition delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PojoPathDefinitioninterpretPath(PojoModelPathValueNode source)List<String>preDefinedOrdinals()
-
-
-
Constructor Detail
-
PojoPathsDefinitionAdapter
public PojoPathsDefinitionAdapter(PojoPathsDefinition delegate)
-
-
Method Detail
-
preDefinedOrdinals
public List<String> preDefinedOrdinals()
- Specified by:
preDefinedOrdinalsin interfacePojoPathDefinitionProvider- Returns:
- The string representations of pre-defined paths, with their index matching their intended ordinal.
-
interpretPath
public PojoPathDefinition interpretPath(PojoModelPathValueNode source)
- Specified by:
interpretPathin interfacePojoPathDefinitionProvider- Parameters:
source- A set of paths to check for correctness (can it be ever marked as dirty?) and to turn into their string representation. 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 definition of the given path.
-
-