Class StringSetPojoPathFilter
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.path.spi.StringSetPojoPathFilter
-
- All Implemented Interfaces:
PojoPathFilter<Set<String>>
public final class StringSetPojoPathFilter extends Object implements PojoPathFilter<Set<String>>
A filter expecting a simple string representation of dirty paths.Completely ignores container value extractors.
-
-
Constructor Summary
Constructors Constructor Description StringSetPojoPathFilter(Set<String> acceptedPaths)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Set<String> paths)
Determines if any path in the given set of paths of is accepted by this filter.String
toString()
-
-
-
Method Detail
-
test
public boolean test(Set<String> paths)
Description copied from interface:PojoPathFilter
Determines if any path in the given set of paths of is accepted by this filter.This method may be called very often. Implementations should take care to organize their internal data adequately, so that lookups are fast.
- Specified by:
test
in interfacePojoPathFilter<Set<String>>
- Parameters:
paths
- An object representing a set of paths. Nevernull
.- Returns:
true
if any path in the given set is accepted by this filter,false
otherwise.
-
-