Package io.jmix.search.index.impl
Class BaseJsonpSerializer<TJsonp>
java.lang.Object
io.jmix.search.index.impl.BaseJsonpSerializer<TJsonp>
- Type Parameters:
TJsonp
- search clients' specific JSonp format
- All Implemented Interfaces:
JsonpSerializer<TJsonp>
- Direct Known Subclasses:
ElasticsearchJsonpSerializer
,OpenSearchJsonpSerializer
Class is responsible for the transforming search clients' specific JSonp format to Jackson's ObjectNode.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.fasterxml.jackson.databind.JsonNode
toJsonNode
(TJsonp object) com.fasterxml.jackson.databind.node.ObjectNode
toObjectNode
(TJsonp object)
-
Field Details
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
BaseJsonpSerializer
public BaseJsonpSerializer()
-
-
Method Details
-
toObjectNode
- Specified by:
toObjectNode
in interfaceJsonpSerializer<TJsonp>
-
toJsonNode
-