Class ShadowRuleStatementConverter
java.lang.Object
org.apache.shardingsphere.shadow.distsql.handler.converter.ShadowRuleStatementConverter
Shadow rule statement converter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ShadowRuleConfigurationconvert(Collection<ShadowRuleSegment> rules) Convert shadow rule segments to shadow rule configuration.
-
Constructor Details
-
ShadowRuleStatementConverter
public ShadowRuleStatementConverter()
-
-
Method Details
-
convert
Convert shadow rule segments to shadow rule configuration.- Parameters:
rules- shadow rule statements- Returns:
- shadow rule configuration
-