Interface ColumnShadowAlgorithm<T extends Comparable<?>>

  • Type Parameters:
    T - type of column shadow value
    All Superinterfaces:
    ShadowAlgorithm, org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithm, org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    public interface ColumnShadowAlgorithm<T extends Comparable<?>>
    extends ShadowAlgorithm
    Column shadow algorithm.
    • Method Detail

      • isShadow

        boolean isShadow​(PreciseColumnShadowValue<T> columnShadowValue)
        Is need shadow.
        Parameters:
        columnShadowValue - column shadow value
        Returns:
        is need shadow or not
      • getShadowColumn

        String getShadowColumn()
        Get shadow column.
        Returns:
        shadow column
      • getShadowOperationType

        ShadowOperationType getShadowOperationType()
        Get shadow operation type.
        Returns:
        shadow operation type