Class SQLFederationRule
java.lang.Object
org.apache.shardingsphere.sqlfederation.rule.SQLFederationRule
- All Implemented Interfaces:
org.apache.shardingsphere.infra.rule.identifier.scope.GlobalRule,org.apache.shardingsphere.infra.rule.ShardingSphereRule
public final class SQLFederationRule
extends Object
implements org.apache.shardingsphere.infra.rule.identifier.scope.GlobalRule
SQL federation rule.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSQLFederationExecutor(String databaseName, String schemaName, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, org.apache.shardingsphere.infra.metadata.data.ShardingSphereData shardingSphereData, org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor jdbcExecutor, org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext) Get SQL federation executor.getType()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.rule.ShardingSphereRule
getConfiguration
-
Constructor Details
-
SQLFederationRule
-
-
Method Details
-
getSQLFederationExecutor
public SQLFederationExecutor getSQLFederationExecutor(String databaseName, String schemaName, org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData metaData, org.apache.shardingsphere.infra.metadata.data.ShardingSphereData shardingSphereData, org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.JDBCExecutor jdbcExecutor, org.apache.shardingsphere.infra.util.eventbus.EventBusContext eventBusContext) Get SQL federation executor.- Parameters:
databaseName- database nameschemaName- schema namemetaData- ShardingSphere meta datashardingSphereData- ShardingSphere datajdbcExecutor- jdbc executoreventBusContext- event bus context- Returns:
- created instance
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.infra.rule.ShardingSphereRule
-