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).
|
convertToPropertyType
public ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchFactoryIntegrator searchFactory, EntityNamesResolver entityNames)
protected org.hibernate.search.bridge.FieldBridge getFieldBridge(String entityType, List<String> propertyPath)
getFieldBridge
in class LucenePropertyHelper
public 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 © 2013. All rights reserved.