Class AbstractElasticsearchFieldCodec<T>
java.lang.Object
org.hibernate.search.backend.elasticsearch.types.codec.impl.AbstractElasticsearchFieldCodec<T>
- All Implemented Interfaces:
ElasticsearchFieldCodec<T>
- Direct Known Subclasses:
AbstractElasticsearchJavaTimeFieldCodec,AbstractElasticsearchVectorFieldCodec,ElasticsearchBigDecimalFieldCodec,ElasticsearchBigIntegerFieldCodec,ElasticsearchBooleanFieldCodec,ElasticsearchByteFieldCodec,ElasticsearchDoubleFieldCodec,ElasticsearchFloatFieldCodec,ElasticsearchGeoPointFieldCodec,ElasticsearchIntegerFieldCodec,ElasticsearchLongFieldCodec,ElasticsearchShortFieldCodec,ElasticsearchStringFieldCodec
public abstract class AbstractElasticsearchFieldCodec<T>
extends Object
implements ElasticsearchFieldCodec<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJsonElementToString(com.google.gson.JsonElement value) com.google.gson.JsonElementfromJsonStringToElement(String value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.backend.elasticsearch.types.codec.impl.ElasticsearchFieldCodec
canDecodeArrays, decode, decodeAggregationKey, encode, encodeForAggregation, encodeForMissing, isCompatibleWith
-
Field Details
-
gson
protected final com.google.gson.Gson gson
-
-
Constructor Details
-
AbstractElasticsearchFieldCodec
public AbstractElasticsearchFieldCodec(com.google.gson.Gson gson)
-
-
Method Details
-
fromJsonStringToElement
- Specified by:
fromJsonStringToElementin interfaceElasticsearchFieldCodec<T>
-
fromJsonElementToString
- Specified by:
fromJsonElementToStringin interfaceElasticsearchFieldCodec<T>
-