public class IndexZippedDataAsyncHistoryJobHandler extends AsyncHistoryJobZippedHandler
Modifier and Type | Field and Description |
---|---|
protected BulkIndexRequestExecutor |
bulkIndexRequestExecutor |
static String |
JOB_TYPE |
defaultHistoryJsonTransformer, historyJsonTransformers
isAsyncHistoryJsonGroupingEnabled, jobType, logger
Constructor and Description |
---|
IndexZippedDataAsyncHistoryJobHandler(List<HistoryJsonTransformer> historyJsonTransformers,
BulkIndexRequestExecutor bulkIndexRequestExecutor) |
Modifier and Type | Method and Description |
---|---|
void |
execute(HistoryJobEntity job,
String configuration,
CommandContext commandContext,
JobServiceConfiguration jobServiceConfiguration) |
String |
getType() |
protected void |
handleNoMatchingHistoryTransformer(CommandContext commandContext,
HistoryJobEntity job,
com.fasterxml.jackson.databind.node.ObjectNode historicalData,
String type) |
decompress, getJobBytes
addHistoryJsonTransformer, executeHistoryTransformers, getDefaultHistoryJsonTransformer, getHistoryJsonTransformers, processHistoryJson, setDefaultHistoryJsonTransformer, setHistoryJsonTransformers
isAsyncHistoryJsonGroupingEnabled, setAsyncHistoryJsonGroupingEnabled
public static final String JOB_TYPE
protected BulkIndexRequestExecutor bulkIndexRequestExecutor
public IndexZippedDataAsyncHistoryJobHandler(List<HistoryJsonTransformer> historyJsonTransformers, BulkIndexRequestExecutor bulkIndexRequestExecutor)
public void execute(HistoryJobEntity job, String configuration, CommandContext commandContext, JobServiceConfiguration jobServiceConfiguration)
execute
in interface HistoryJobHandler
execute
in class AbstractAsyncHistoryJobHandler
public String getType()
getType
in interface HistoryJobHandler
getType
in class AbstractAsyncHistoryJobHandler
protected void handleNoMatchingHistoryTransformer(CommandContext commandContext, HistoryJobEntity job, com.fasterxml.jackson.databind.node.ObjectNode historicalData, String type)
handleNoMatchingHistoryTransformer
in class AsyncHistoryJobHandler