public abstract class LucenePropertyHelper extends Object implements PropertyHelper
| Constructor and Description |
|---|
LucenePropertyHelper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToBackendType(String entityType,
List<String> propertyPath,
Object value)
Converts the given property value into the type expected by the query backend.
|
Object |
convertToPropertyType(String entityType,
List<String> propertyPath,
String value)
Returns the given value converted into the type of the given property as determined via the field bridge of the
property.
|
abstract org.hibernate.search.bridge.FieldBridge |
getFieldBridge(String entityType,
List<String> propertyPath) |
public Object convertToBackendType(String entityType, List<String> propertyPath, Object value)
PropertyHelperconvertToBackendType in interface PropertyHelperentityType - the entity type owning the propertypropertyPath - the path from the entity to the property (will only contain more than one element in case the
entity is hosted on an embedded entity).value - the value of the propertypublic Object convertToPropertyType(String entityType, List<String> propertyPath, String value)
convertToPropertyType in interface PropertyHelpervalue - the value to convertentityType - the type hosting the propertypropertyPath - the name of the propertyCopyright © 2016. All rights reserved.