public interface InventoryIncrementalJobAPI extends PipelineJobAPI
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
aggregateDataConsistencyCheckResults(String jobId,
Map<String,DataConsistencyCheckResult> checkResults)
Aggregate data consistency check results.
|
DataConsistencyCalculateAlgorithm |
buildDataConsistencyCalculateAlgorithm(PipelineJobConfiguration jobConfig,
String algorithmType,
Properties algorithmProps)
Build data consistency calculate algorithm.
|
Map<String,DataConsistencyCheckResult> |
dataConsistencyCheck(PipelineJobConfiguration pipelineJobConfig,
DataConsistencyCalculateAlgorithm calculateAlgorithm,
ConsistencyCheckJobItemContext checkJobItemContext)
Do data consistency check.
|
InventoryIncrementalJobItemProgress |
getJobItemProgress(String jobId,
int shardingItem)
Get job item progress.
|
Map<Integer,InventoryIncrementalJobItemProgress> |
getJobProgress(PipelineJobConfiguration pipelineJobConfig)
Get job progress.
|
buildPipelineProcessContext, buildTaskConfiguration, cleanJobItemErrorMessage, extendYamlJobConfiguration, getJobConfiguration, getJobItemErrorMessage, marshalJobId, persistJobItemErrorMessage, startgetJobType, list, startDisabledJob, stoppersistJobItemProgress, updateJobItemStatusMap<Integer,InventoryIncrementalJobItemProgress> getJobProgress(PipelineJobConfiguration pipelineJobConfig)
pipelineJobConfig - job configurationInventoryIncrementalJobItemProgress getJobItemProgress(String jobId, int shardingItem)
PipelineJobItemAPIgetJobItemProgress 在接口中 PipelineJobItemAPIjobId - job idshardingItem - sharding itemDataConsistencyCalculateAlgorithm buildDataConsistencyCalculateAlgorithm(PipelineJobConfiguration jobConfig, String algorithmType, Properties algorithmProps)
jobConfig - job configurationalgorithmType - algorithm typealgorithmProps - algorithm propertiesMap<String,DataConsistencyCheckResult> dataConsistencyCheck(PipelineJobConfiguration pipelineJobConfig, DataConsistencyCalculateAlgorithm calculateAlgorithm, ConsistencyCheckJobItemContext checkJobItemContext)
pipelineJobConfig - job configurationcalculateAlgorithm - calculate algorithmcheckJobItemContext - consistency check job item contextboolean aggregateDataConsistencyCheckResults(String jobId, Map<String,DataConsistencyCheckResult> checkResults)
jobId - job idcheckResults - check resultsCopyright © 2022 The Apache Software Foundation. All rights reserved.