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, convertToPropertyType
public 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 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 © 2017. All rights reserved.