Class DataMatchDataConsistencyCalculateAlgorithm
java.lang.Object
org.apache.shardingsphere.data.pipeline.core.check.consistency.algorithm.AbstractStreamingDataConsistencyCalculateAlgorithm
org.apache.shardingsphere.data.pipeline.core.check.consistency.algorithm.DataMatchDataConsistencyCalculateAlgorithm
- All Implemented Interfaces:
DataConsistencyCalculateAlgorithm,ShardingSphereAlgorithm,org.apache.shardingsphere.spi.aware.SPIMetadataAware,org.apache.shardingsphere.spi.lifecycle.SPIPostProcessor,org.apache.shardingsphere.spi.type.typed.TypedSPI
public final class DataMatchDataConsistencyCalculateAlgorithm
extends AbstractStreamingDataConsistencyCalculateAlgorithm
Data match data consistency calculate algorithm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateChunk(DataConsistencyCalculateParameter parameter) Calculate chunked records at one time.getType()voidinit(Properties props) Methods inherited from class org.apache.shardingsphere.data.pipeline.core.check.consistency.algorithm.AbstractStreamingDataConsistencyCalculateAlgorithm
calculateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm
getPropsMethods inherited from interface org.apache.shardingsphere.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
DataMatchDataConsistencyCalculateAlgorithm
public DataMatchDataConsistencyCalculateAlgorithm()
-
-
Method Details
-
init
-
calculateChunk
Description copied from class:AbstractStreamingDataConsistencyCalculateAlgorithmCalculate chunked records at one time.- Specified by:
calculateChunkin classAbstractStreamingDataConsistencyCalculateAlgorithm- Parameters:
parameter- data consistency calculate parameter- Returns:
- optional calculated result, empty means there's no more result
-
getType
-
getSupportedDatabaseTypes
-
getDescription
-