Class OpenSearchJsonpSerializer
java.lang.Object
io.jmix.search.index.impl.BaseJsonpSerializer<org.opensearch.client.json.JsonpSerializable>
io.jmix.searchopensearch.index.impl.OpenSearchJsonpSerializer
- All Implemented Interfaces:
JsonpSerializer<org.opensearch.client.json.JsonpSerializable>
@Component("search_OpenSearchJsonpSerializer")
public class OpenSearchJsonpSerializer
extends BaseJsonpSerializer<org.opensearch.client.json.JsonpSerializable>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.opensearch.client.opensearch.OpenSearchClient
Fields inherited from class io.jmix.search.index.impl.BaseJsonpSerializer
objectMapper
-
Constructor Summary
ConstructorDescriptionOpenSearchJsonpSerializer
(org.opensearch.client.opensearch.OpenSearchClient searchClient) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonNode
toJsonNode
(org.opensearch.client.json.JsonpSerializable object) Methods inherited from class io.jmix.search.index.impl.BaseJsonpSerializer
toObjectNode
-
Field Details
-
searchClient
protected final org.opensearch.client.opensearch.OpenSearchClient searchClient
-
-
Constructor Details
-
OpenSearchJsonpSerializer
public OpenSearchJsonpSerializer(org.opensearch.client.opensearch.OpenSearchClient searchClient)
-
-
Method Details
-
toJsonNode
protected com.fasterxml.jackson.databind.JsonNode toJsonNode(org.opensearch.client.json.JsonpSerializable object) - Specified by:
toJsonNode
in classBaseJsonpSerializer<org.opensearch.client.json.JsonpSerializable>
-