Class ElasticsearchYearFieldCodec
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec<Year>
-
- org.hibernate.search.backend.elasticsearch.types.codec.impl.ElasticsearchYearFieldCodec
-
- All Implemented Interfaces:
ElasticsearchFieldCodec<Year>
public class ElasticsearchYearFieldCodec extends AbstractElasticsearchJavaTimeFieldCodec<Year>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec
formatter
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchYearFieldCodec(DateTimeFormatter delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected YearnullUnsafeParse(String stringValue)protected LongnullUnsafeScalar(Year value)-
Methods inherited from class org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec
decode, decodeAggregationKey, encode, encodeForMissing, isCompatibleWith, nullUnsafeFormat
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.backend.elasticsearch.types.codec.impl.ElasticsearchFieldCodec
encodeForAggregation
-
-
-
-
Constructor Detail
-
ElasticsearchYearFieldCodec
public ElasticsearchYearFieldCodec(DateTimeFormatter delegate)
-
-
Method Detail
-
nullUnsafeParse
protected Year nullUnsafeParse(String stringValue)
- Specified by:
nullUnsafeParsein classAbstractElasticsearchJavaTimeFieldCodec<Year>
-
nullUnsafeScalar
protected Long nullUnsafeScalar(Year value)
- Specified by:
nullUnsafeScalarin classAbstractElasticsearchJavaTimeFieldCodec<Year>
-
-