Interface HintShadowAlgorithm<T extends Comparable<?>>
-
- Type Parameters:
T- class type of hint 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 HintShadowAlgorithm<T extends Comparable<?>> extends ShadowAlgorithm
Precise hint of shadow in SQL comment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisShadow(Collection<String> relatedShadowTables, PreciseHintShadowValue<T> hintShadowValue)Is need shadow.
-
-
-
Method Detail
-
isShadow
boolean isShadow(Collection<String> relatedShadowTables, PreciseHintShadowValue<T> hintShadowValue)
Is need shadow.- Parameters:
relatedShadowTables- related shadow tableshintShadowValue- hint value of shadow- Returns:
- is need shadow or not
-
-