Class UpdateByQueryIndexingTransformer
- java.lang.Object
 - 
- com.flowable.indexing.job.transformer.UpdateByQueryIndexingTransformer
 
 
- 
- All Implemented Interfaces:
 HistoryJsonTransformer
public class UpdateByQueryIndexingTransformer extends Object implements HistoryJsonTransformer
A generic indexing transformer that allows to do an update by query. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected LowLevelIndexingServiceindexingServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper- 
Fields inherited from interface org.flowable.job.service.impl.history.async.transformer.HistoryJsonTransformer
FIELD_NAME_DATA, FIELD_NAME_TYPE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description UpdateByQueryIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getTypes()booleanisApplicable(com.fasterxml.jackson.databind.node.ObjectNode historicalData, CommandContext commandContext)voidtransformJson(HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode data, CommandContext commandContext) 
 - 
 
- 
- 
Field Detail
- 
indexingService
protected final LowLevelIndexingService indexingService
 
- 
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
 
 - 
 
- 
Constructor Detail
- 
UpdateByQueryIndexingTransformer
public UpdateByQueryIndexingTransformer(LowLevelIndexingService indexingService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
 
 - 
 
- 
Method Detail
- 
getTypes
public List<String> 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
 
 - 
 
 -