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 booleantest(Set<String> paths)Determines if any path in the given set of paths of is accepted by this filter.StringtoString()
-
-
-
Method Detail
-
test
public boolean test(Set<String> paths)
Description copied from interface:PojoPathFilterDetermines 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:
testin interfacePojoPathFilter<Set<String>>- Parameters:
paths- An object representing a set of paths. Nevernull.- Returns:
trueif any path in the given set is accepted by this filter,falseotherwise.
-
-