Class UpdateByQueryIndexingTransformer
java.lang.Object
com.flowable.indexing.job.transformer.UpdateByQueryIndexingTransformer
- All Implemented Interfaces:
HistoryJsonTransformer
A generic indexing transformer that allows to do an update by query.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final LowLevelIndexingService
protected final com.fasterxml.jackson.databind.ObjectMapper
Fields inherited from interface com.flowable.indexing.job.transformer.HistoryJsonTransformer
FIELD_NAME_DATA, FIELD_NAME_TYPE
-
Constructor Summary
ConstructorDescriptionUpdateByQueryIndexingTransformer
(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetTypes()
boolean
isApplicable
(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext) void
transformJson
(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode data, CommandContext commandContext)
-
Field Details
-
indexingService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
UpdateByQueryIndexingTransformer
public UpdateByQueryIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getTypes
- Specified by:
getTypes
in interfaceHistoryJsonTransformer
-
isApplicable
public boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext) - Specified by:
isApplicable
in interfaceHistoryJsonTransformer
-
transformJson
public void transformJson(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode data, CommandContext commandContext) - Specified by:
transformJson
in interfaceHistoryJsonTransformer
-