Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
5060cd39
Shardingsphere
项目概览
apache
/
Shardingsphere
通知
56
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Shardingsphere
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5060cd39
编写于
10月 10, 2020
作者:
L
Liang Zhang
提交者:
GitHub
10月 10, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename spi impl package name (#7727)
* Rename spi impl package name * Fix compile err
上级
a61f4dcb
变更
53
隐藏空白更改
内联
并排
Showing
53 changed file
with
66 addition
and
64 deletion
+66
-64
shardingsphere-features/shardingsphere-consensus-replication/shardingsphere-consensus-replication-common/src/test/java/org/apache/shardingsphere/replication/consensus/rule/builder/ConsensusReplicationRuleBuilderTest.java
...sus/rule/builder/ConsensusReplicationRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataDecoratorTest.java
...sphere/encrypt/metadata/EncryptMetaDataDecoratorTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataLoaderTest.java
...ingsphere/encrypt/metadata/EncryptMetaDataLoaderTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/rule/builder/AlgorithmProvidedEncryptRuleBuilderTest.java
...rule/builder/AlgorithmProvidedEncryptRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/rule/builder/EncryptRuleBuilderTest.java
...ngsphere/encrypt/rule/builder/EncryptRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/yaml/swapper/EncryptRuleAlgorithmProviderConfigurationYamlSwapperTest.java
...yptRuleAlgorithmProviderConfigurationYamlSwapperTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/yaml/swapper/EncryptRuleConfigurationYamlSwapperTest.java
...yaml/swapper/EncryptRuleConfigurationYamlSwapperTest.java
+1
-1
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java
...phere/encrypt/merge/EncryptResultDecoratorEngineTest.java
+1
-1
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/main/java/org/apache/shardingsphere/replication/primaryreplica/rule/PrimaryReplicaReplicationRule.java
...on/primaryreplica/rule/PrimaryReplicaReplicationRule.java
+1
-1
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/test/java/org/apache/shardingsphere/replication/primaryreplica/rule/biulder/AlgorithmProvidedPrimaryReplicaReplicationRuleBuilderTest.java
...ithmProvidedPrimaryReplicaReplicationRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/test/java/org/apache/shardingsphere/replication/primaryreplica/rule/biulder/PrimaryReplicaReplicationRuleBuilderTest.java
...ule/biulder/PrimaryReplicaReplicationRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-route/src/test/java/org/apache/shardingsphere/replication/primaryreplica/route/engine/PrimaryReplicaReplicationSQLRouterTest.java
.../route/engine/PrimaryReplicaReplicationSQLRouterTest.java
+1
-1
shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-common/src/test/java/org/apache/shardingsphere/shadow/rule/builder/ShadowRuleBuilderTest.java
...dingsphere/shadow/rule/builder/ShadowRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-route/src/test/java/org/apache/shardingsphere/shadow/route/engine/ShadowSQLRouterTest.java
...ardingsphere/shadow/route/engine/ShadowSQLRouterTest.java
+6
-5
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/main/java/org/apache/shardingsphere/sharding/rule/ShardingRule.java
...org/apache/shardingsphere/sharding/rule/ShardingRule.java
+1
-1
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/test/java/org/apache/shardingsphere/sharding/rule/builder/AlgorithmProvidedShardingRuleBuilderTest.java
...ule/builder/AlgorithmProvidedShardingRuleBuilderTest.java
+1
-1
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/test/java/org/apache/shardingsphere/sharding/rule/builder/ShardingRuleBuilderTest.java
...sphere/sharding/rule/builder/ShardingRuleBuilderTest.java
+1
-1
shardingsphere-governance/shardingsphere-governance-core/shardingsphere-governance-core-facade/src/main/java/org/apache/shardingsphere/governance/core/facade/repository/GovernanceRepositoryFacade.java
...ce/core/facade/repository/GovernanceRepositoryFacade.java
+1
-1
shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/GovernanceRepository.java
...phere/governance/repository/api/GovernanceRepository.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/algorithm/ShardingSphereAlgorithm.java
...phere/infra/config/algorithm/ShardingSphereAlgorithm.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/algorithm/ShardingSphereAlgorithmFactory.java
...nfra/config/algorithm/ShardingSphereAlgorithmFactory.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/RuleSchemaMetaDataLoader.java
...phere/infra/metadata/schema/RuleSchemaMetaDataLoader.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataDecorator.java
...here/infra/metadata/schema/spi/RuleMetaDataDecorator.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataLoader.java
...gsphere/infra/metadata/schema/spi/RuleMetaDataLoader.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataNotifier.java
...phere/infra/metadata/schema/spi/RuleMetaDataNotifier.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/rule/ShardingSphereRuleBuilder.java
.../shardingsphere/infra/rule/ShardingSphereRuleBuilder.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/rule/ShardingSphereRulesBuilder.java
...shardingsphere/infra/rule/ShardingSphereRulesBuilder.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/ordered/OrderedSPI.java
...g/apache/shardingsphere/infra/spi/ordered/OrderedSPI.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/ordered/OrderedSPIRegistry.java
.../shardingsphere/infra/spi/ordered/OrderedSPIRegistry.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/typed/TypedSPI.java
...a/org/apache/shardingsphere/infra/spi/typed/TypedSPI.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/typed/TypedSPIRegistry.java
...ache/shardingsphere/infra/spi/typed/TypedSPIRegistry.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/config/algorithm/YamlShardingSphereAlgorithmConfiguration.java
...g/algorithm/YamlShardingSphereAlgorithmConfiguration.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapper.java
...here/infra/yaml/swapper/YamlRuleConfigurationSwapper.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapperEngine.java
...nfra/yaml/swapper/YamlRuleConfigurationSwapperEngine.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/NoImplTypedSPIFixture.java
...ardingsphere/infra/spi/fixture/NoImplTypedSPIFixture.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/OrderedSPIFixture.java
...e/shardingsphere/infra/spi/fixture/OrderedSPIFixture.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/TypedSPIFixture.java
...che/shardingsphere/infra/spi/fixture/TypedSPIFixture.java
+1
-1
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/ordered/OrderedSPIRegistryTest.java
...rdingsphere/infra/spi/ordered/OrderedSPIRegistryTest.java
+6
-5
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/typed/TypedSPIRegistryTest.java
.../shardingsphere/infra/spi/typed/TypedSPIRegistryTest.java
+1
-1
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/group/AbstractExecuteGroupEngine.java
.../infra/executor/sql/group/AbstractExecuteGroupEngine.java
+1
-1
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/group/ExecuteGroupDecorator.java
...phere/infra/executor/sql/group/ExecuteGroupDecorator.java
+1
-1
shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/MergeEngine.java
...va/org/apache/shardingsphere/infra/merge/MergeEngine.java
+1
-1
shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/engine/ResultProcessEngine.java
...hardingsphere/infra/merge/engine/ResultProcessEngine.java
+1
-1
shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/SQLRewriteEntry.java
.../apache/shardingsphere/infra/rewrite/SQLRewriteEntry.java
+1
-1
shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/context/SQLRewriteContextDecorator.java
...ere/infra/rewrite/context/SQLRewriteContextDecorator.java
+1
-1
shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/SQLRouter.java
...java/org/apache/shardingsphere/infra/route/SQLRouter.java
+1
-1
shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/engine/SQLRouteEngine.java
...che/shardingsphere/infra/route/engine/SQLRouteEngine.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/AbstractStatementExecutor.java
...dingsphere/driver/executor/AbstractStatementExecutor.java
+4
-4
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/registry/AbstractAlgorithmProvidedBeanRegistry.java
.../boot/registry/AbstractAlgorithmProvidedBeanRegistry.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-namespace-infra/src/main/java/org/apache/shardingsphere/spring/namespace/factorybean/ShardingSphereAlgorithmFactoryBean.java
...space/factorybean/ShardingSphereAlgorithmFactoryBean.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnection.java
...kend/communication/jdbc/connection/BackendConnection.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/statement/fetchsize/StatementMemoryStrictlyFetchSizeSetter.java
...ent/fetchsize/StatementMemoryStrictlyFetchSizeSetter.java
+1
-1
shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/job/position/resume/RepositoryResumeBreakPointManager.java
...ob/position/resume/RepositoryResumeBreakPointManager.java
+1
-1
未找到文件。
shardingsphere-features/shardingsphere-consensus-replication/shardingsphere-consensus-replication-common/src/test/java/org/apache/shardingsphere/replication/consensus/rule/builder/ConsensusReplicationRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.replication.consensus.rule.builder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.replication.consensus.api.config.ConsensusReplicationRuleConfiguration
;
import
org.apache.shardingsphere.replication.consensus.rule.ConsensusReplicationRule
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataDecoratorTest.java
浏览文件 @
5060cd39
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.encrypt.metadata;
import
org.apache.shardingsphere.encrypt.rule.EncryptRule
;
import
org.apache.shardingsphere.infra.metadata.schema.spi.RuleMetaDataDecorator
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.column.ColumnMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/metadata/EncryptMetaDataLoaderTest.java
浏览文件 @
5060cd39
...
...
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.database.type.DatabaseType;
import
org.apache.shardingsphere.infra.datanode.DataNodes
;
import
org.apache.shardingsphere.infra.metadata.schema.spi.RuleMetaDataLoader
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
import
org.junit.Before
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/rule/builder/AlgorithmProvidedEncryptRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.encrypt.algorithm.config.AlgorithmProvidedEncry
import
org.apache.shardingsphere.encrypt.rule.EncryptRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.junit.Test
;
import
java.util.Collections
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/rule/builder/EncryptRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.encrypt.api.config.EncryptRuleConfiguration;
import
org.apache.shardingsphere.encrypt.rule.EncryptRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.junit.Test
;
import
java.util.Collections
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/yaml/swapper/EncryptRuleAlgorithmProviderConfigurationYamlSwapperTest.java
浏览文件 @
5060cd39
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm;
import
org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration
;
import
org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.yaml.config.algorithm.YamlShardingSphereAlgorithmConfiguration
;
import
org.apache.shardingsphere.infra.yaml.swapper.YamlRuleConfigurationSwapper
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-common/src/test/java/org/apache/shardingsphere/encrypt/yaml/swapper/EncryptRuleConfigurationYamlSwapperTest.java
浏览文件 @
5060cd39
...
...
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguratio
import
org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration
;
import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithmConfiguration
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.yaml.config.algorithm.YamlShardingSphereAlgorithmConfiguration
;
import
org.apache.shardingsphere.infra.yaml.swapper.YamlRuleConfigurationSwapper
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-merge/src/test/java/org/apache/shardingsphere/encrypt/merge/EncryptResultDecoratorEngineTest.java
浏览文件 @
5060cd39
...
...
@@ -27,7 +27,7 @@ import org.apache.shardingsphere.infra.merge.engine.ResultProcessEngine;
import
org.apache.shardingsphere.infra.merge.engine.decorator.ResultDecorator
;
import
org.apache.shardingsphere.infra.merge.engine.decorator.impl.TransparentResultDecorator
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.dal.DescribeStatementContext
;
...
...
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/main/java/org/apache/shardingsphere/replication/primaryreplica/rule/PrimaryReplicaReplicationRule.java
浏览文件 @
5060cd39
...
...
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.infra.rule.StatusContainedRule;
import
org.apache.shardingsphere.infra.rule.event.RuleChangedEvent
;
import
org.apache.shardingsphere.infra.rule.event.impl.DataSourceNameDisabledEvent
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.PrimaryReplicaReplicationRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.rule.PrimaryReplicaReplicationDataSourceRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.spi.ReplicaLoadBalanceAlgorithm
;
...
...
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/test/java/org/apache/shardingsphere/replication/primaryreplica/rule/biulder/AlgorithmProvidedPrimaryReplicaReplicationRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.replication.primaryreplica.rule.biulder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.replication.primaryreplica.algorithm.config.AlgorithmProvidedPrimaryReplicaReplicationRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.rule.PrimaryReplicaReplicationDataSourceRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.rule.PrimaryReplicaReplicationRule
;
...
...
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-common/src/test/java/org/apache/shardingsphere/replication/primaryreplica/rule/biulder/PrimaryReplicaReplicationRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.replication.primaryreplica.rule.biulder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.PrimaryReplicaReplicationRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.rule.PrimaryReplicaReplicationDataSourceRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.rule.PrimaryReplicaReplicationRule
;
...
...
shardingsphere-features/shardingsphere-primary-replica-replication/shardingsphere-primary-replica-replication-route/src/test/java/org/apache/shardingsphere/replication/primaryreplica/route/engine/PrimaryReplicaReplicationSQLRouterTest.java
浏览文件 @
5060cd39
...
...
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.infra.route.context.RouteContext;
import
org.apache.shardingsphere.infra.route.context.RouteMapper
;
import
org.apache.shardingsphere.infra.route.context.RouteUnit
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.sql.LogicSQL
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.PrimaryReplicaReplicationRuleConfiguration
;
import
org.apache.shardingsphere.replication.primaryreplica.api.config.rule.PrimaryReplicaReplicationDataSourceRuleConfiguration
;
...
...
shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-common/src/test/java/org/apache/shardingsphere/shadow/rule/builder/ShadowRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.shadow.rule.builder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration
;
import
org.apache.shardingsphere.shadow.rule.ShadowRule
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-route/src/test/java/org/apache/shardingsphere/shadow/route/engine/ShadowSQLRouterTest.java
浏览文件 @
5060cd39
...
...
@@ -17,10 +17,6 @@
package
org.apache.shardingsphere.shadow.route.engine
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.Iterator
;
import
java.util.Properties
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData
;
import
org.apache.shardingsphere.infra.route.SQLRouter
;
...
...
@@ -29,7 +25,7 @@ import org.apache.shardingsphere.infra.route.context.RouteMapper;
import
org.apache.shardingsphere.infra.route.context.RouteUnit
;
import
org.apache.shardingsphere.infra.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.sql.LogicSQL
;
import
org.apache.shardingsphere.shadow.api.config.ShadowRuleConfiguration
;
import
org.apache.shardingsphere.shadow.rule.ShadowRule
;
...
...
@@ -43,6 +39,11 @@ import org.junit.Test;
import
org.junit.runner.RunWith
;
import
org.mockito.junit.MockitoJUnitRunner
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.Iterator
;
import
java.util.Properties
;
import
static
org
.
hamcrest
.
CoreMatchers
.
is
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
...
...
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/main/java/org/apache/shardingsphere/sharding/rule/ShardingRule.java
浏览文件 @
5060cd39
...
...
@@ -26,7 +26,7 @@ import org.apache.shardingsphere.infra.config.exception.ShardingSphereConfigurat
import
org.apache.shardingsphere.infra.datanode.DataNode
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.sharding.algorithm.config.AlgorithmProvidedShardingRuleConfiguration
;
import
org.apache.shardingsphere.sharding.algorithm.sharding.inline.InlineExpressionParser
;
import
org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration
;
...
...
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/test/java/org/apache/shardingsphere/sharding/rule/builder/AlgorithmProvidedShardingRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.sharding.rule.builder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sharding.algorithm.config.AlgorithmProvidedShardingRuleConfiguration
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.junit.Test
;
...
...
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-common/src/test/java/org/apache/shardingsphere/sharding/rule/builder/ShardingRuleBuilderTest.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.sharding.rule.builder;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRuleBuilder
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.junit.Test
;
...
...
shardingsphere-governance/shardingsphere-governance-core/shardingsphere-governance-core-facade/src/main/java/org/apache/shardingsphere/governance/core/facade/repository/GovernanceRepositoryFacade.java
浏览文件 @
5060cd39
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.governance.core.facade.repository;
import
com.google.common.base.Preconditions
;
import
lombok.Getter
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.governance.repository.api.ConfigurationRepository
;
import
org.apache.shardingsphere.governance.repository.api.RegistryRepository
;
import
org.apache.shardingsphere.governance.repository.api.config.GovernanceCenterConfiguration
;
...
...
shardingsphere-governance/shardingsphere-governance-repository/shardingsphere-governance-repository-api/src/main/java/org/apache/shardingsphere/governance/repository/api/GovernanceRepository.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.governance.repository.api
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
import
org.apache.shardingsphere.governance.repository.api.config.GovernanceCenterConfiguration
;
import
org.apache.shardingsphere.governance.repository.api.listener.DataChangedEventListener
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/algorithm/ShardingSphereAlgorithm.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.config.algorithm
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
/**
* ShardingSphere algorithm.
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/config/algorithm/ShardingSphereAlgorithmFactory.java
浏览文件 @
5060cd39
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.infra.config.algorithm;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.infra.config.TypedSPIConfiguration
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
/**
* ShardingSphere algorithm factory.
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/RuleSchemaMetaDataLoader.java
浏览文件 @
5060cd39
...
...
@@ -27,7 +27,7 @@ import org.apache.shardingsphere.infra.metadata.schema.spi.RuleMetaDataLoader;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaDataLoader
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataDecorator.java
浏览文件 @
5060cd39
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.infra.metadata.schema.spi
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
/**
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataLoader.java
浏览文件 @
5060cd39
...
...
@@ -21,7 +21,7 @@ import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
import
org.apache.shardingsphere.infra.database.type.DatabaseType
;
import
org.apache.shardingsphere.infra.datanode.DataNodes
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/metadata/schema/spi/RuleMetaDataNotifier.java
浏览文件 @
5060cd39
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.infra.metadata.schema.spi
;
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
/**
* Rule meta data notifier.
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/rule/ShardingSphereRuleBuilder.java
浏览文件 @
5060cd39
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.infra.rule
;
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
java.util.Collection
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/rule/ShardingSphereRulesBuilder.java
浏览文件 @
5060cd39
...
...
@@ -21,7 +21,7 @@ import lombok.AccessLevel;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
java.util.Collection
;
import
java.util.stream.Collectors
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/order/OrderedSPI.java
→
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/order
ed
/OrderedSPI.java
浏览文件 @
5060cd39
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.order
;
package
org.apache.shardingsphere.infra.spi.order
ed
;
/**
* Ordered SPI.
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/order/OrderedSPIRegistry.java
→
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/order
ed
/OrderedSPIRegistry.java
浏览文件 @
5060cd39
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.order
;
package
org.apache.shardingsphere.infra.spi.order
ed
;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/type/TypedSPI.java
→
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/type
d
/TypedSPI.java
浏览文件 @
5060cd39
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.type
;
package
org.apache.shardingsphere.infra.spi.type
d
;
import
java.util.Properties
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/type/TypedSPIRegistry.java
→
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/spi/type
d
/TypedSPIRegistry.java
浏览文件 @
5060cd39
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.type
;
package
org.apache.shardingsphere.infra.spi.type
d
;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/config/algorithm/YamlShardingSphereAlgorithmConfiguration.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.infra.yaml.config.algorithm;
import
lombok.Getter
;
import
lombok.Setter
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
import
org.apache.shardingsphere.infra.yaml.config.YamlConfiguration
;
import
java.util.Properties
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapper.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.yaml.swapper
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
import
org.apache.shardingsphere.infra.yaml.config.YamlRuleConfiguration
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/yaml/swapper/YamlRuleConfigurationSwapperEngine.java
浏览文件 @
5060cd39
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.infra.yaml.swapper;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.yaml.config.YamlRuleConfiguration
;
import
java.lang.reflect.ParameterizedType
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/NoImplTypedSPIFixture.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.spi.fixture
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
public
interface
NoImplTypedSPIFixture
extends
TypedSPI
{
}
...
...
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/OrderedSPIFixture.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.spi.fixture
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
public
interface
OrderedSPIFixture
<
T
extends
FixtureCustomInterface
>
extends
OrderedSPI
<
T
>
{
}
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/fixture/TypedSPIFixture.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.spi.fixture
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
public
interface
TypedSPIFixture
extends
TypedSPI
{
}
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/order/OrderedSPIRegistryTest.java
→
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/order
ed
/OrderedSPIRegistryTest.java
浏览文件 @
5060cd39
...
...
@@ -15,12 +15,8 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.order
;
package
org.apache.shardingsphere.infra.spi.order
ed
;
import
java.util.Collection
;
import
java.util.LinkedList
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.fixture.FixtureCustomInterface
;
import
org.apache.shardingsphere.infra.spi.fixture.FixtureCustomInterfaceImpl
;
...
...
@@ -28,6 +24,11 @@ import org.apache.shardingsphere.infra.spi.fixture.OrderedSPIFixture;
import
org.junit.Before
;
import
org.junit.Test
;
import
java.util.Collection
;
import
java.util.LinkedList
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
static
org
.
hamcrest
.
CoreMatchers
.
is
;
import
static
org
.
junit
.
Assert
.
assertThat
;
...
...
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/type/TypedSPIRegistryTest.java
→
shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/spi/type
d
/TypedSPIRegistryTest.java
浏览文件 @
5060cd39
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.infra.spi.type
;
package
org.apache.shardingsphere.infra.spi.type
d
;
import
java.util.Properties
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
...
...
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/group/AbstractExecuteGroupEngine.java
浏览文件 @
5060cd39
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.infra.executor.sql.context.SQLUnit;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
java.sql.SQLException
;
import
java.util.Collection
;
...
...
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/group/ExecuteGroupDecorator.java
浏览文件 @
5060cd39
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.infra.executor.sql.group;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.infra.executor.kernel.InputGroup
;
import
java.util.Collection
;
...
...
shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/MergeEngine.java
浏览文件 @
5060cd39
...
...
@@ -29,7 +29,7 @@ import org.apache.shardingsphere.infra.merge.result.MergedResult;
import
org.apache.shardingsphere.infra.merge.result.impl.transparent.TransparentMergedResult
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
...
...
shardingsphere-infra/shardingsphere-infra-merge/src/main/java/org/apache/shardingsphere/infra/merge/engine/ResultProcessEngine.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.merge.engine
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
/**
...
...
shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/SQLRewriteEntry.java
浏览文件 @
5060cd39
...
...
@@ -26,7 +26,7 @@ import org.apache.shardingsphere.infra.rewrite.engine.result.SQLRewriteResult;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.schema.SchemaMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
...
...
shardingsphere-infra/shardingsphere-infra-rewrite/shardingsphere-infra-rewrite-engine/src/main/java/org/apache/shardingsphere/infra/rewrite/context/SQLRewriteContextDecorator.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.infra.rewrite.context
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
...
...
shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/SQLRouter.java
浏览文件 @
5060cd39
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.infra.route;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPI
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPI
;
import
org.apache.shardingsphere.infra.sql.LogicSQL
;
/**
...
...
shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/engine/SQLRouteEngine.java
浏览文件 @
5060cd39
...
...
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.infra.route.context.RouteContext;
import
org.apache.shardingsphere.infra.route.hook.SPIRoutingHook
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.sql.LogicSQL
;
import
java.util.Collection
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/AbstractStatementExecutor.java
浏览文件 @
5060cd39
...
...
@@ -35,7 +35,7 @@ import org.apache.shardingsphere.infra.metadata.schema.spi.RuleMetaDataNotifier;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.order.OrderedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.order
ed
.OrderedSPIRegistry
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
javax.sql.DataSource
;
...
...
@@ -87,9 +87,9 @@ public abstract class AbstractStatementExecutor {
protected
boolean
executeAndRefreshMetaData
(
final
Collection
<
InputGroup
<
StatementExecuteUnit
>>
inputGroups
,
final
SQLStatementContext
<?>
sqlStatementContext
,
final
SQLExecutorCallback
<
Boolean
>
sqlExecutorCallback
)
throws
SQLException
{
List
<
Boolean
>
result
=
getSqlExecutor
()
.
execute
(
inputGroups
,
sqlExecutorCallback
);
refreshTableMetaData
(
getSchemaContexts
()
.
getDefaultSchema
(),
sqlStatementContext
);
return
(
null
==
result
||
result
.
isEmpty
()
||
null
==
result
.
get
(
0
))
?
false
:
result
.
get
(
0
);
List
<
Boolean
>
result
=
sqlExecutor
.
execute
(
inputGroups
,
sqlExecutorCallback
);
refreshTableMetaData
(
schemaContexts
.
getDefaultSchema
(),
sqlStatementContext
);
return
null
!=
result
&&
!
result
.
isEmpty
()
&&
null
!=
result
.
get
(
0
)
&&
result
.
get
(
0
);
}
private
void
notifyPersistRuleMetaData
(
final
String
schemaName
,
final
RuleSchemaMetaData
metaData
)
{
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-boot-starter-infra/src/main/java/org/apache/shardingsphere/spring/boot/registry/AbstractAlgorithmProvidedBeanRegistry.java
浏览文件 @
5060cd39
...
...
@@ -22,7 +22,7 @@ import lombok.RequiredArgsConstructor;
import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm
;
import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithmPostProcessor
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.yaml.config.algorithm.YamlShardingSphereAlgorithmConfiguration
;
import
org.apache.shardingsphere.spring.boot.util.PropertyUtil
;
import
org.springframework.beans.factory.config.BeanPostProcessor
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-spring-infra/shardingsphere-jdbc-spring-namespace-infra/src/main/java/org/apache/shardingsphere/spring/namespace/factorybean/ShardingSphereAlgorithmFactoryBean.java
浏览文件 @
5060cd39
...
...
@@ -21,7 +21,7 @@ import lombok.Getter;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm
;
import
org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithmPostProcessor
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.springframework.beans.factory.FactoryBean
;
import
java.util.Properties
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnection.java
浏览文件 @
5060cd39
...
...
@@ -29,7 +29,7 @@ import org.apache.shardingsphere.infra.executor.sql.ConnectionMode;
import
org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.connection.JDBCExecutionConnection
;
import
org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.group.StatementOption
;
import
org.apache.shardingsphere.infra.spi.ShardingSphereServiceLoader
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.fetchsize.StatementMemoryStrictlyFetchSizeSetter
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.transaction.TransactionStatus
;
import
org.apache.shardingsphere.proxy.backend.context.ProxyContext
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/statement/fetchsize/StatementMemoryStrictlyFetchSizeSetter.java
浏览文件 @
5060cd39
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.proxy.backend.communication.jdbc.statement.fetchsize
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPI
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPI
;
import
java.sql.SQLException
;
import
java.sql.Statement
;
...
...
shardingsphere-scaling/shardingsphere-scaling-core/src/main/java/org/apache/shardingsphere/scaling/core/job/position/resume/RepositoryResumeBreakPointManager.java
浏览文件 @
5060cd39
...
...
@@ -27,7 +27,7 @@ import org.apache.shardingsphere.governance.core.yaml.swapper.GovernanceConfigur
import
org.apache.shardingsphere.governance.repository.api.RegistryRepository
;
import
org.apache.shardingsphere.governance.repository.api.config.GovernanceCenterConfiguration
;
import
org.apache.shardingsphere.governance.repository.api.config.GovernanceConfiguration
;
import
org.apache.shardingsphere.infra.spi.type.TypedSPIRegistry
;
import
org.apache.shardingsphere.infra.spi.type
d
.TypedSPIRegistry
;
import
org.apache.shardingsphere.scaling.core.config.ScalingContext
;
import
java.util.concurrent.Executors
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录