public class UpdateByQueryIndexingTransformer 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 |
---|
UpdateByQueryIndexingTransformer(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 data,
CommandContext commandContext) |
protected final LowLevelIndexingService indexingService
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
public UpdateByQueryIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public List<String> getTypes()
getTypes
in interface HistoryJsonTransformer
public boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext)
isApplicable
in interface HistoryJsonTransformer
public void transformJson(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode data, CommandContext commandContext)
transformJson
in interface HistoryJsonTransformer