Class CRC32MatchDataConsistencyCalculateAlgorithm

java.lang.Object
org.apache.shardingsphere.data.pipeline.core.check.consistency.algorithm.CRC32MatchDataConsistencyCalculateAlgorithm
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 CRC32MatchDataConsistencyCalculateAlgorithm extends Object implements DataConsistencyCalculateAlgorithm
CRC32 match data consistency calculate algorithm.
  • Constructor Details

    • CRC32MatchDataConsistencyCalculateAlgorithm

      public CRC32MatchDataConsistencyCalculateAlgorithm()
  • Method Details

    • init

      public void init(Properties props)
      Specified by:
      init in interface org.apache.shardingsphere.spi.lifecycle.SPIPostProcessor
    • calculate

      public Iterable<Object> calculate(DataConsistencyCalculateParameter parameter)
      Specified by:
      calculate in interface DataConsistencyCalculateAlgorithm
    • getType

      public String getType()
      Specified by:
      getType in interface org.apache.shardingsphere.spi.type.typed.TypedSPI
    • getSupportedDatabaseTypes

      public Collection<String> getSupportedDatabaseTypes()
      Specified by:
      getSupportedDatabaseTypes in interface org.apache.shardingsphere.spi.aware.SPIMetadataAware
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.apache.shardingsphere.spi.aware.SPIMetadataAware