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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetShadowColumn()Get shadow column.ShadowOperationTypegetShadowOperationType()Get shadow operation type.booleanisShadow(PreciseColumnShadowValue<T> columnShadowValue)Is need shadow.
-
-
-
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
-
-