Class DateRangePropertyValueConverter
java.lang.Object
org.springframework.data.elasticsearch.core.convert.AbstractPropertyValueConverter
org.springframework.data.elasticsearch.core.convert.AbstractRangePropertyValueConverter<Date>
org.springframework.data.elasticsearch.core.convert.DateRangePropertyValueConverter
- All Implemented Interfaces:
PropertyValueConverter
- Since:
- 4.3
- Author:
- Sascha Woo
-
Field Summary
Fields inherited from class org.springframework.data.elasticsearch.core.convert.AbstractRangePropertyValueConverter
GT_FIELD, GTE_FIELD, LT_FIELD, LTE_FIELD
-
Constructor Summary
ConstructorsConstructorDescriptionDateRangePropertyValueConverter
(PersistentProperty<?> property, Class<?> genericType, List<ElasticsearchDateConverter> dateConverters) -
Method Summary
Methods inherited from class org.springframework.data.elasticsearch.core.convert.AbstractRangePropertyValueConverter
getGenericType, read, write
Methods inherited from class org.springframework.data.elasticsearch.core.convert.AbstractPropertyValueConverter
getProperty
-
Constructor Details
-
DateRangePropertyValueConverter
public DateRangePropertyValueConverter(PersistentProperty<?> property, Class<?> genericType, List<ElasticsearchDateConverter> dateConverters)
-
-
Method Details
-
format
- Specified by:
format
in classAbstractRangePropertyValueConverter<Date>
-
parse
- Specified by:
parse
in classAbstractRangePropertyValueConverter<Date>
-