public class ClassBasedLucenePropertyHelper extends LucenePropertyHelper
| Constructor and Description |
|---|
ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchIntegrator searchFactory,
EntityNamesResolver entityNames) |
ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchIntegrator searchFactory,
EntityNamesResolver entityNames,
FieldBridgeProvider fieldBridgeProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(Class<?> type,
List<String> propertyPath) |
boolean |
exists(Class<?> type,
String... propertyPath) |
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).
|
convertToBackendType, convertToPropertyTypepublic ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchIntegrator searchFactory,
EntityNamesResolver entityNames)
public ClassBasedLucenePropertyHelper(org.hibernate.search.spi.SearchIntegrator searchFactory,
EntityNamesResolver entityNames,
FieldBridgeProvider fieldBridgeProvider)
public 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 © 2016. All rights reserved.