Class ElasticsearchJsonpSerializer
java.lang.Object
io.jmix.search.index.impl.BaseJsonpSerializer<co.elastic.clients.json.JsonpSerializable>
io.jmix.searchelasticsearch.index.impl.ElasticsearchJsonpSerializer
- All Implemented Interfaces:
JsonpSerializer<co.elastic.clients.json.JsonpSerializable>
@Component("search_ElasticsearchJsonpSerializer")
public class ElasticsearchJsonpSerializer
extends BaseJsonpSerializer<co.elastic.clients.json.JsonpSerializable>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final co.elastic.clients.elasticsearch.ElasticsearchClient
Fields inherited from class io.jmix.search.index.impl.BaseJsonpSerializer
objectMapper
-
Constructor Summary
ConstructorDescriptionElasticsearchJsonpSerializer
(co.elastic.clients.elasticsearch.ElasticsearchClient searchClient) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonNode
toJsonNode
(co.elastic.clients.json.JsonpSerializable object) Methods inherited from class io.jmix.search.index.impl.BaseJsonpSerializer
toObjectNode
-
Field Details
-
searchClient
protected final co.elastic.clients.elasticsearch.ElasticsearchClient searchClient
-
-
Constructor Details
-
ElasticsearchJsonpSerializer
public ElasticsearchJsonpSerializer(co.elastic.clients.elasticsearch.ElasticsearchClient searchClient)
-
-
Method Details
-
toJsonNode
protected com.fasterxml.jackson.databind.JsonNode toJsonNode(co.elastic.clients.json.JsonpSerializable object) - Specified by:
toJsonNode
in classBaseJsonpSerializer<co.elastic.clients.json.JsonpSerializable>
-