Class ConversationJsonMapper
java.lang.Object
com.flowable.engage.engine.impl.indexing.ConversationJsonMapper
- All Implemented Interfaces:
ConversationResultMapper,ElasticsearchResultConverter.ResultMapper<ConversationSearchResponse>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.flowable.engage.engine.impl.indexing.ConversationResultMapper
ConversationResultMapper.Enhancer -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(com.fasterxml.jackson.databind.JsonNode sourceNode) Converts the given source node (not the full Elasticsearch hit document, just the source object within it).convertHit(com.fasterxml.jackson.databind.JsonNode hitNode) Implement this method, if you want to enhance or enrich the response with additional data outside of the source object within the hit document returned by Elasticsearch.protected ConversationSearchResponseconvertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode) voidsetResultMapperEnhancers(List<ConversationResultMapper.Enhancer> resultMapperEnhancers)
-
Field Details
-
resultMapperEnhancers
-
-
Constructor Details
-
ConversationJsonMapper
public ConversationJsonMapper()
-
-
Method Details
-
convertHit
Description copied from interface:ElasticsearchResultConverter.ResultMapperImplement this method, if you want to enhance or enrich the response with additional data outside of the source object within the hit document returned by Elasticsearch.- Specified by:
convertHitin interfaceElasticsearchResultConverter.ResultMapper<ConversationSearchResponse>- Parameters:
hitNode- the full hit document node as being returned by Elasticsearch- Returns:
- the response object with the mapped / extracted data from the hit
-
convert
Description copied from interface:ElasticsearchResultConverter.ResultMapperConverts the given source node (not the full Elasticsearch hit document, just the source object within it).- Specified by:
convertin interfaceElasticsearchResultConverter.ResultMapper<ConversationSearchResponse>- Parameters:
sourceNode- the source object as being returned within the Elasticsearch hit document- Returns:
- the converted response object
-
convertWithoutEnhancer
protected ConversationSearchResponse convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode) -
getResultMapperEnhancers
-
setResultMapperEnhancers
-