Class ElasticsearchInstantFieldCodec
- java.lang.Object
-
- org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec<Instant>
-
- org.hibernate.search.backend.elasticsearch.types.codec.impl.ElasticsearchInstantFieldCodec
-
- All Implemented Interfaces:
ElasticsearchFieldCodec<Instant>
public class ElasticsearchInstantFieldCodec extends AbstractElasticsearchJavaTimeFieldCodec<Instant>
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec
formatter
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchInstantFieldCodec(DateTimeFormatter delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringnullUnsafeFormat(Instant value)protected InstantnullUnsafeParse(String stringValue)protected LongnullUnsafeScalar(Instant value)-
Methods inherited from class org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchJavaTimeFieldCodec
decode, decodeAggregationKey, encode, encodeForMissing, isCompatibleWith
-
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
-
ElasticsearchInstantFieldCodec
public ElasticsearchInstantFieldCodec(DateTimeFormatter delegate)
-
-
Method Detail
-
nullUnsafeFormat
protected String nullUnsafeFormat(Instant value)
- Overrides:
nullUnsafeFormatin classAbstractElasticsearchJavaTimeFieldCodec<Instant>
-
nullUnsafeParse
protected Instant nullUnsafeParse(String stringValue)
- Specified by:
nullUnsafeParsein classAbstractElasticsearchJavaTimeFieldCodec<Instant>
-
nullUnsafeScalar
protected Long nullUnsafeScalar(Instant value)
- Specified by:
nullUnsafeScalarin classAbstractElasticsearchJavaTimeFieldCodec<Instant>
-
-