Class AbstractRangePropertyValueConverter<T>
java.lang.Object
org.springframework.data.elasticsearch.core.convert.AbstractPropertyValueConverter
org.springframework.data.elasticsearch.core.convert.AbstractRangePropertyValueConverter<T>
- All Implemented Interfaces:
PropertyValueConverter
- Direct Known Subclasses:
DateRangePropertyValueConverter
,NumberRangePropertyValueConverter
,TemporalRangePropertyValueConverter
- Since:
- 4.3
- Author:
- Sascha Woo
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.elasticsearch.core.convert.AbstractPropertyValueConverter
getProperty
-
Field Details
-
LT_FIELD
- See Also:
-
LTE_FIELD
- See Also:
-
GT_FIELD
- See Also:
-
GTE_FIELD
- See Also:
-
-
Constructor Details
-
AbstractRangePropertyValueConverter
-
-
Method Details
-
read
Description copied from interface:PropertyValueConverter
Converts an elasticsearch property value to a property value.- Parameters:
value
- the elasticsearch property value to convert, must not be null- Returns:
- The converted value, must not be null
-
write
Description copied from interface:PropertyValueConverter
Converts a property value to an elasticsearch value. If the converter cannot convert the value, it must return a String representation.- Parameters:
value
- the value to convert, must not be null- Returns:
- The elasticsearch property value, must not be null
-
format
-
getGenericType
-
parse
-