public class CaseInstanceJsonMapper extends BaseJsonMapper<CaseInstanceSearchRepresentation> implements CaseInstanceResultMapper
CaseInstanceResultMapper.Enhancer
Modifier and Type | Field and Description |
---|---|
protected List<CaseInstanceResultMapper.Enhancer> |
resultMapperEnhancers |
Constructor and Description |
---|
CaseInstanceJsonMapper() |
Modifier and Type | Method and Description |
---|---|
CaseInstanceSearchRepresentation |
convert(com.fasterxml.jackson.databind.JsonNode sourceNode)
Converts the given source node (not the full Elasticsearch hit document, just the source object within it).
|
CaseInstanceSearchRepresentation |
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 CaseInstanceSearchRepresentation |
convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode) |
List<CaseInstanceResultMapper.Enhancer> |
getResultMapperEnhancers() |
void |
setResultMapperEnhancers(List<CaseInstanceResultMapper.Enhancer> resultMapperEnhancers) |
createScopeSearchInfo, createTranslationSearchResponses, flattenVariables, transformVariableNode
protected List<CaseInstanceResultMapper.Enhancer> resultMapperEnhancers
public CaseInstanceSearchRepresentation convertHit(com.fasterxml.jackson.databind.JsonNode hitNode)
ElasticsearchResultConverter.ResultMapper
convertHit
in interface ElasticsearchResultConverter.ResultMapper<CaseInstanceSearchRepresentation>
hitNode
- the full hit document node as being returned by Elasticsearchpublic CaseInstanceSearchRepresentation convert(com.fasterxml.jackson.databind.JsonNode sourceNode)
ElasticsearchResultConverter.ResultMapper
convert
in interface ElasticsearchResultConverter.ResultMapper<CaseInstanceSearchRepresentation>
sourceNode
- the source object as being returned within the Elasticsearch hit documentprotected CaseInstanceSearchRepresentation convertWithoutEnhancer(com.fasterxml.jackson.databind.JsonNode jsonNode)
public List<CaseInstanceResultMapper.Enhancer> getResultMapperEnhancers()
public void setResultMapperEnhancers(List<CaseInstanceResultMapper.Enhancer> resultMapperEnhancers)