public class GenericIndexingTransformer extends Object implements HistoryJsonTransformer
| Modifier and Type | Field and Description |
|---|---|
protected LowLevelIndexingService |
indexingService |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
FIELD_NAME_DATA, FIELD_NAME_TYPE| Constructor and Description |
|---|
GenericIndexingTransformer(LowLevelIndexingService indexingService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getTypes() |
boolean |
isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData,
CommandContext commandContext) |
void |
transformJson(HistoryJobEntity job,
com.fasterxml.jackson.databind.node.ObjectNode historicalData,
CommandContext commandContext) |
protected final LowLevelIndexingService indexingService
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public GenericIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<String> getTypes()
getTypes in interface HistoryJsonTransformerpublic boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData,
CommandContext commandContext)
isApplicable in interface HistoryJsonTransformerpublic void transformJson(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext)
transformJson in interface HistoryJsonTransformer