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
FieldsModifier and TypeFieldDescriptionprotected final LowLevelIndexingServiceprotected final com.fasterxml.jackson.databind.ObjectMapperFields inherited from interface com.flowable.indexing.job.transformer.HistoryJsonTransformer
FIELD_NAME_DATA, FIELD_NAME_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionUpdateByQueryIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetTypes()booleanisApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext) voidtransformJson(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:
getTypesin interfaceHistoryJsonTransformer
-
isApplicable
public boolean isApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext) - Specified by:
isApplicablein interfaceHistoryJsonTransformer
-
transformJson
public void transformJson(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode data, CommandContext commandContext) - Specified by:
transformJsonin interfaceHistoryJsonTransformer
-