Class TypePatternMatcherFactory
java.lang.Object
org.hibernate.search.mapper.pojo.model.typepattern.impl.TypePatternMatcherFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExactRawTypeMatcher(Class<?> exactTypeToMatch) createExtractingMatcher(Type typePattern, Type typeToExtract) createRawSuperTypeMatcher(Class<?> superTypeToMatch)
-
Constructor Details
-
TypePatternMatcherFactory
- Parameters:
introspector- An introspector to use for reflection, mainly forPojoBootstrapIntrospector.typeModel(Class).
-
-
Method Details
-
createExactRawTypeMatcher
-
createRawSuperTypeMatcher
-
createExtractingMatcher
- Parameters:
typePattern- The type used as a pattern to be matched. Not all types are accepted.typeToExtract- The type to extract when matching the pattern. Not all types are accepted.- Returns:
- A type pattern matcher matching subtypes of
typePatternand returning thetypeToExtractresolved against the type submitted to the matcher in the even of a match. - Throws:
UnsupportedOperationException- If this factory does not support creating a type pattern matcher for the given types.
-