public class ClassBasedLucenePropertyHelper extends LucenePropertyHelper
| Constructor and Description |
|---|
ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchFactoryIntegrator searchFactory,
EntityNamesResolver entityNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(Class<?> type,
List<String> propertyPath) |
boolean |
exists(Class<?> type,
String... propertyPath) |
protected org.hibernate.search.bridge.FieldBridge |
getFieldBridge(String entityType,
List<String> propertyPath) |
boolean |
isAnalyzed(Class<?> type,
List<String> propertyPath) |
boolean |
isAnalyzed(Class<?> type,
String... propertyPath) |
boolean |
isEmbedded(Class<?> type,
List<String> propertyPath) |
boolean |
isEmbedded(Class<?> type,
String... propertyPath)
Determines whether the given property path denotes an embedded entity (not a property of such entity).
|
convertToPropertyTypepublic ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchFactoryIntegrator searchFactory,
EntityNamesResolver entityNames)
protected org.hibernate.search.bridge.FieldBridge getFieldBridge(String entityType, List<String> propertyPath)
getFieldBridge in class LucenePropertyHelperpublic boolean isEmbedded(Class<?> type, String... propertyPath)
type - the indexed typepropertyPath - the path of interesttrue if the given path denotes an embedded entity of the given indexed type, false
otherwise.Copyright © 2014. All rights reserved.