Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
04643406
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,发现更多精彩内容 >>
未验证
提交
04643406
编写于
5月 29, 2020
作者:
J
Juan Pan(Trista)
提交者:
GitHub
5月 29, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Rename to kernel module (#5849)
* Rename to kernel module * reverse orchestration change
上级
1ecd026b
变更
63
隐藏空白更改
内联
并排
Showing
63 changed file
with
115 addition
and
115 deletion
+115
-115
pom.xml
pom.xml
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/PreparedStatementExecutor.java
...dingsphere/driver/executor/PreparedStatementExecutor.java
+2
-2
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/StatementExecutor.java
...che/shardingsphere/driver/executor/StatementExecutor.java
+2
-2
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/batch/BatchPreparedStatementExecutor.java
...driver/executor/batch/BatchPreparedStatementExecutor.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/adapter/AbstractConnectionAdapter.java
...sphere/driver/jdbc/adapter/AbstractConnectionAdapter.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java
...ngsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java
...driver/jdbc/core/connection/ShardingSphereConnection.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/datasource/ShardingSphereDataSource.java
...driver/jdbc/core/datasource/ShardingSphereDataSource.java
+2
-2
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
.../jdbc/core/statement/ShardingSpherePreparedStatement.java
+2
-2
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatement.java
...e/driver/jdbc/core/statement/ShardingSphereStatement.java
+2
-2
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/executor/AbstractBaseExecutorTest.java
...rdingsphere/driver/executor/AbstractBaseExecutorTest.java
+4
-4
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnectionTest.java
...er/jdbc/core/connection/ShardingSphereConnectionTest.java
+4
-4
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/datasource/metadata/ShardingSphereDatabaseMetaDataTest.java
...tasource/metadata/ShardingSphereDatabaseMetaDataTest.java
+5
-5
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSetTest.java
...iver/jdbc/core/resultset/ShardingSphereResultSetTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-orchestration/src/main/java/org/apache/shardingsphere/driver/orchestration/internal/datasource/OrchestrationShardingSphereDataSource.java
...nal/datasource/OrchestrationShardingSphereDataSource.java
+3
-3
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/type/SpringBootShardingTest.java
...ardingsphere/spring/boot/type/SpringBootShardingTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/AbstractSpringJUnitTest.java
...apache/shardingsphere/spring/AbstractSpringJUnitTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/GenerateKeyJUnitTest.java
...rg/apache/shardingsphere/spring/GenerateKeyJUnitTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/ShardingNamespaceTest.java
...g/apache/shardingsphere/spring/ShardingNamespaceTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-orchestration-spring/shardingsphere-jdbc-orchestration-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/orchestration/type/OrchestrationSpringBootRegistryShardingTest.java
...ion/type/OrchestrationSpringBootRegistryShardingTest.java
+1
-1
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-orchestration-spring/shardingsphere-jdbc-orchestration-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/orchestration/type/OrchestrationSpringBootShardingTest.java
...chestration/type/OrchestrationSpringBootShardingTest.java
+1
-1
shardingsphere-kernel/pom.xml
shardingsphere-kernel/pom.xml
+2
-2
shardingsphere-kernel/shardingsphere-kernel-context/pom.xml
shardingsphere-kernel/shardingsphere-kernel-context/pom.xml
+2
-2
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/SchemaContext.java
...g/apache/shardingsphere/kernel/context/SchemaContext.java
+3
-3
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/SchemaContexts.java
.../apache/shardingsphere/kernel/context/SchemaContexts.java
+1
-1
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/SchemaContextsBuilder.java
.../shardingsphere/kernel/context/SchemaContextsBuilder.java
+5
-5
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/runtime/CachedDatabaseMetaData.java
...sphere/kernel/context/runtime/CachedDatabaseMetaData.java
+1
-1
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/runtime/RuntimeContext.java
...shardingsphere/kernel/context/runtime/RuntimeContext.java
+1
-1
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/schema/DataSourceParameter.java
...dingsphere/kernel/context/schema/DataSourceParameter.java
+1
-1
shardingsphere-kernel/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kernel/context/schema/ShardingSphereSchema.java
...ingsphere/kernel/context/schema/ShardingSphereSchema.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/cluster/HeartbeatHandler.java
...hardingsphere/proxy/backend/cluster/HeartbeatHandler.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/DatabaseCommunicationEngineFactory.java
...end/communication/DatabaseCommunicationEngineFactory.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/JDBCDatabaseCommunicationEngine.java
...d/communication/jdbc/JDBCDatabaseCommunicationEngine.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/datasource/JDBCBackendDataSourceFactory.java
...ication/jdbc/datasource/JDBCBackendDataSourceFactory.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java
...tion/jdbc/datasource/JDBCRawBackendDataSourceFactory.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/wrapper/PreparedStatementExecutorWrapper.java
...cation/jdbc/wrapper/PreparedStatementExecutorWrapper.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/wrapper/StatementExecutorWrapper.java
.../communication/jdbc/wrapper/StatementExecutorWrapper.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/response/query/QueryHeaderBuilder.java
...here/proxy/backend/response/query/QueryHeaderBuilder.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/schema/ProxySchemaContexts.java
...rdingsphere/proxy/backend/schema/ProxySchemaContexts.java
+6
-6
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/util/DataSourceConverter.java
...hardingsphere/proxy/backend/util/DataSourceConverter.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/TextProtocolBackendHandlerFactoryTest.java
.../proxy/backend/TextProtocolBackendHandlerFactoryTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/DatabaseCommunicationEngineFactoryTest.java
...nication/jdbc/DatabaseCommunicationEngineFactoryTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnectionTest.java
.../communication/jdbc/connection/BackendConnectionTest.java
+4
-4
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendTransactionManagerTest.java
...cation/jdbc/connection/BackendTransactionManagerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCBackendDataSourceTest.java
...munication/jdbc/datasource/JDBCBackendDataSourceTest.java
+4
-4
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/context/ShardingSphereProxyContextTest.java
...proxy/backend/context/ShardingSphereProxyContextTest.java
+4
-4
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/response/query/QueryHeaderBuilderTest.java
.../proxy/backend/response/query/QueryHeaderBuilderTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/BroadcastBackendHandlerTest.java
...proxy/backend/text/admin/BroadcastBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/ShowDatabasesBackendHandlerTest.java
...y/backend/text/admin/ShowDatabasesBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/UnicastBackendHandlerTest.java
...e/proxy/backend/text/admin/UnicastBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
...oxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/sctl/hint/ShardingCTLHintBackendHandlerTest.java
...end/text/sctl/hint/ShardingCTLHintBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
...ckend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/util/DataSourceConverterTest.java
...ingsphere/proxy/backend/util/DataSourceConverterTest.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java
.../main/java/org/apache/shardingsphere/proxy/Bootstrap.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutor.java
...and/query/binary/prepare/MySQLComStmtPrepareExecutor.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/auth/MySQLAuthenticationEngineTest.java
...xy/frontend/mysql/auth/MySQLAuthenticationEngineTest.java
+3
-3
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandExecutorFactoryTest.java
...ontend/mysql/command/MySQLCommandExecutorFactoryTest.java
+2
-2
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutorTest.java
...query/binary/execute/MySQLComStmtExecuteExecutorTest.java
+1
-1
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/parse/PostgreSQLComParseExecutor.java
...ommand/query/binary/parse/PostgreSQLComParseExecutor.java
+1
-1
未找到文件。
pom.xml
浏览文件 @
04643406
...
...
@@ -33,7 +33,7 @@
<module>
shardingsphere-sql-parser
</module>
<module>
shardingsphere-db-protocol
</module>
<module>
shardingsphere-infra
</module>
<module>
shardingsphere-kern
a
l
</module>
<module>
shardingsphere-kern
e
l
</module>
<module>
shardingsphere-jdbc
</module>
<module>
shardingsphere-proxy
</module>
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/pom.xml
浏览文件 @
04643406
...
...
@@ -59,7 +59,7 @@
</dependency>
<dependency>
<groupId>
org.apache.shardingsphere
</groupId>
<artifactId>
shardingsphere-kern
a
l-context
</artifactId>
<artifactId>
shardingsphere-kern
e
l-context
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/PreparedStatementExecutor.java
浏览文件 @
04643406
...
...
@@ -32,8 +32,8 @@ import org.apache.shardingsphere.infra.metadata.refresh.MetaDataRefreshStrategyF
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaDataLoader
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
javax.sql.DataSource
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/StatementExecutor.java
浏览文件 @
04643406
...
...
@@ -33,8 +33,8 @@ import org.apache.shardingsphere.infra.metadata.refresh.MetaDataRefreshStrategyF
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaDataLoader
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
javax.sql.DataSource
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/executor/batch/BatchPreparedStatementExecutor.java
浏览文件 @
04643406
...
...
@@ -30,7 +30,7 @@ import org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.executor.SQLE
import
org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.executor.impl.DefaultSQLExecutorCallback
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
java.sql.SQLException
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/adapter/AbstractConnectionAdapter.java
浏览文件 @
04643406
...
...
@@ -28,7 +28,7 @@ import org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.connection.JD
import
org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.group.StatementOption
;
import
org.apache.shardingsphere.infra.hook.RootInvokeHook
;
import
org.apache.shardingsphere.infra.hook.SPIRootInvokeHook
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.masterslave.route.engine.impl.MasterVisitedManager
;
import
org.apache.shardingsphere.transaction.core.TransactionTypeHolder
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java
浏览文件 @
04643406
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.driver.jdbc.adapter
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.CachedDatabaseMetaData
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.CachedDatabaseMetaData
;
import
java.sql.DatabaseMetaData
;
import
java.sql.RowIdLifetime
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java
浏览文件 @
04643406
...
...
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.driver.jdbc.adapter.AbstractConnectionAdapter;
import
org.apache.shardingsphere.driver.jdbc.core.datasource.metadata.ShardingSphereDatabaseMetaData
;
import
org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement
;
import
org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.apache.shardingsphere.transaction.spi.ShardingTransactionManager
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/datasource/ShardingSphereDataSource.java
浏览文件 @
04643406
...
...
@@ -27,8 +27,8 @@ import org.apache.shardingsphere.infra.config.RuleConfiguration;
import
org.apache.shardingsphere.infra.database.DefaultSchema
;
import
org.apache.shardingsphere.infra.database.type.DatabaseType
;
import
org.apache.shardingsphere.infra.database.type.DatabaseTypes
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContextsBuilder
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContextsBuilder
;
import
org.apache.shardingsphere.transaction.core.TransactionTypeHolder
;
import
javax.sql.DataSource
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
浏览文件 @
04643406
...
...
@@ -52,8 +52,8 @@ import org.apache.shardingsphere.infra.rewrite.engine.result.SQLRewriteResult;
import
org.apache.shardingsphere.infra.route.DataNodeRouter
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.segment.insert.keygen.GeneratedKeyContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.dml.InsertStatementContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.dml.SelectStatementContext
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatement.java
浏览文件 @
04643406
...
...
@@ -50,8 +50,8 @@ import org.apache.shardingsphere.infra.rewrite.engine.result.SQLRewriteResult;
import
org.apache.shardingsphere.infra.route.DataNodeRouter
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.segment.insert.keygen.GeneratedKeyContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.dml.InsertStatementContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.dml.SelectStatementContext
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/executor/AbstractBaseExecutorTest.java
浏览文件 @
04643406
...
...
@@ -25,10 +25,10 @@ import org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKe
import
org.apache.shardingsphere.infra.database.type.DatabaseTypes
;
import
org.apache.shardingsphere.infra.executor.kernel.ExecutorKernel
;
import
org.apache.shardingsphere.infra.executor.sql.resourced.jdbc.executor.ExecutorExceptionHandler
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sql.parser.binder.segment.table.TablesContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnectionTest.java
浏览文件 @
04643406
...
...
@@ -20,10 +20,10 @@ package org.apache.shardingsphere.driver.jdbc.core.connection;
import
org.apache.shardingsphere.driver.jdbc.core.fixture.BASEShardingTransactionManagerFixture
;
import
org.apache.shardingsphere.driver.jdbc.core.fixture.XAShardingTransactionManagerFixture
;
import
org.apache.shardingsphere.infra.database.type.DatabaseTypes
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration
;
import
org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration
;
import
org.apache.shardingsphere.transaction.ShardingTransactionManagerEngine
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/datasource/metadata/ShardingSphereDatabaseMetaDataTest.java
浏览文件 @
04643406
...
...
@@ -20,11 +20,11 @@ package org.apache.shardingsphere.driver.jdbc.core.datasource.metadata;
import
com.google.common.collect.LinkedHashMultimap
;
import
org.apache.shardingsphere.driver.jdbc.core.connection.ShardingSphereConnection
;
import
org.apache.shardingsphere.driver.jdbc.core.resultset.DatabaseMetaDataResultSet
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.CachedDatabaseMetaData
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.CachedDatabaseMetaData
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.sharding.api.config.ShardingRuleConfiguration
;
import
org.apache.shardingsphere.sharding.api.config.TableRuleConfiguration
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-core/src/test/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSetTest.java
浏览文件 @
04643406
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatem
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.executor.sql.context.ExecutionContext
;
import
org.apache.shardingsphere.infra.merge.result.MergedResult
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.segment.table.TablesContext
;
import
org.apache.shardingsphere.sql.parser.binder.statement.SQLStatementContext
;
import
org.junit.Before
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-orchestration/src/main/java/org/apache/shardingsphere/driver/orchestration/internal/datasource/OrchestrationShardingSphereDataSource.java
浏览文件 @
04643406
...
...
@@ -32,9 +32,9 @@ import org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.rule.StatusContainedRule
;
import
org.apache.shardingsphere.infra.rule.event.impl.DataSourceNameDisabledEvent
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.orchestration.center.config.OrchestrationConfiguration
;
import
org.apache.shardingsphere.orchestration.core.common.event.DataSourceChangedEvent
;
import
org.apache.shardingsphere.orchestration.core.common.event.PropertiesChangedEvent
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/type/SpringBootShardingTest.java
浏览文件 @
04643406
...
...
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataS
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey
;
import
org.apache.shardingsphere.infra.datanode.DataNode
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sharding.rule.TableRule
;
import
org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/AbstractSpringJUnitTest.java
浏览文件 @
04643406
...
...
@@ -24,7 +24,7 @@ import org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataS
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
import
org.apache.shardingsphere.infra.database.DefaultSchema
;
import
org.apache.shardingsphere.infra.database.type.DatabaseType
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContextsBuilder
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContextsBuilder
;
import
org.h2.tools.RunScript
;
import
org.junit.Before
;
import
org.springframework.test.context.TestExecutionListeners
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/GenerateKeyJUnitTest.java
浏览文件 @
04643406
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.spring
;
import
org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sharding.rule.TableRule
;
import
org.apache.shardingsphere.sharding.spi.keygen.KeyGenerateAlgorithm
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-namespace/src/test/java/org/apache/shardingsphere/spring/ShardingNamespaceTest.java
浏览文件 @
04643406
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
import
org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey
;
import
org.apache.shardingsphere.infra.datanode.DataNode
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sharding.api.config.strategy.ComplexShardingStrategyConfiguration
;
import
org.apache.shardingsphere.sharding.api.config.strategy.HintShardingStrategyConfiguration
;
import
org.apache.shardingsphere.sharding.api.config.strategy.NoneShardingStrategyConfiguration
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-orchestration-spring/shardingsphere-jdbc-orchestration-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/orchestration/type/OrchestrationSpringBootRegistryShardingTest.java
浏览文件 @
04643406
...
...
@@ -26,7 +26,7 @@ import org.apache.shardingsphere.spring.boot.orchestration.util.EmbedTestingServ
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey
;
import
org.apache.shardingsphere.infra.datanode.DataNode
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sharding.rule.TableRule
;
import
org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy
;
...
...
shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-orchestration-spring/shardingsphere-jdbc-orchestration-spring-boot-starter/src/test/java/org/apache/shardingsphere/spring/boot/orchestration/type/OrchestrationSpringBootShardingTest.java
浏览文件 @
04643406
...
...
@@ -25,7 +25,7 @@ import org.apache.shardingsphere.spring.boot.orchestration.util.EmbedTestingServ
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey
;
import
org.apache.shardingsphere.infra.datanode.DataNode
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sharding.rule.TableRule
;
import
org.apache.shardingsphere.sharding.strategy.route.standard.StandardShardingStrategy
;
...
...
shardingsphere-kern
a
l/pom.xml
→
shardingsphere-kern
e
l/pom.xml
浏览文件 @
04643406
...
...
@@ -25,11 +25,11 @@
<groupId>
org.apache.shardingsphere
</groupId>
<version>
5.0.0-RC1-SNAPSHOT
</version>
</parent>
<artifactId>
shardingsphere-kern
a
l
</artifactId>
<artifactId>
shardingsphere-kern
e
l
</artifactId>
<name>
${project.artifactId}
</name>
<packaging>
pom
</packaging>
<modules>
<module>
shardingsphere-kern
a
l-context
</module>
<module>
shardingsphere-kern
e
l-context
</module>
</modules>
</project>
shardingsphere-kern
al/shardingsphere-kerna
l-context/pom.xml
→
shardingsphere-kern
el/shardingsphere-kerne
l-context/pom.xml
浏览文件 @
04643406
...
...
@@ -21,11 +21,11 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
shardingsphere-kern
a
l
</artifactId>
<artifactId>
shardingsphere-kern
e
l
</artifactId>
<groupId>
org.apache.shardingsphere
</groupId>
<version>
5.0.0-RC1-SNAPSHOT
</version>
</parent>
<artifactId>
shardingsphere-kern
a
l-context
</artifactId>
<artifactId>
shardingsphere-kern
e
l-context
</artifactId>
<name>
${project.artifactId}
</name>
<dependencies>
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/SchemaContext.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/SchemaContext.java
浏览文件 @
04643406
...
...
@@ -15,11 +15,11 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context
;
package
org.apache.shardingsphere.kern
e
l.context
;
import
lombok.Getter
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
@Getter
public
final
class
SchemaContext
{
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/SchemaContexts.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/SchemaContexts.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context
;
package
org.apache.shardingsphere.kern
e
l.context
;
import
lombok.Getter
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/SchemaContextsBuilder.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/SchemaContextsBuilder.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context
;
package
org.apache.shardingsphere.kern
e
l.context
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
...
...
@@ -33,10 +33,10 @@ import org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData;
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaDataLoader
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRulesBuilder
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.CachedDatabaseMetaData
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.CachedDatabaseMetaData
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.sql.parser.SQLParserEngineFactory
;
import
org.apache.shardingsphere.transaction.ShardingTransactionManagerEngine
;
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/runtime/CachedDatabaseMetaData.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/runtime/CachedDatabaseMetaData.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context.runtime
;
package
org.apache.shardingsphere.kern
e
l.context.runtime
;
import
lombok.Getter
;
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/runtime/RuntimeContext.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/runtime/RuntimeContext.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context.runtime
;
package
org.apache.shardingsphere.kern
e
l.context.runtime
;
import
lombok.Getter
;
import
org.apache.shardingsphere.infra.executor.kernel.ExecutorKernel
;
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/schema/DataSourceParameter.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/schema/DataSourceParameter.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context.schema
;
package
org.apache.shardingsphere.kern
e
l.context.schema
;
import
lombok.EqualsAndHashCode
;
import
lombok.Getter
;
...
...
shardingsphere-kern
al/shardingsphere-kernal-context/src/main/java/org/apache/shardingsphere/kerna
l/context/schema/ShardingSphereSchema.java
→
shardingsphere-kern
el/shardingsphere-kernel-context/src/main/java/org/apache/shardingsphere/kerne
l/context/schema/ShardingSphereSchema.java
浏览文件 @
04643406
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.kern
a
l.context.schema
;
package
org.apache.shardingsphere.kern
e
l.context.schema
;
import
lombok.Getter
;
import
org.apache.shardingsphere.infra.config.RuleConfiguration
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/pom.xml
浏览文件 @
04643406
...
...
@@ -59,7 +59,7 @@
</dependency>
<dependency>
<groupId>
org.apache.shardingsphere
</groupId>
<artifactId>
shardingsphere-kern
a
l-context
</artifactId>
<artifactId>
shardingsphere-kern
e
l-context
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/cluster/HeartbeatHandler.java
浏览文件 @
04643406
...
...
@@ -23,7 +23,7 @@ import org.apache.shardingsphere.cluster.configuration.config.HeartbeatConfigura
import
org.apache.shardingsphere.cluster.facade.ClusterFacade
;
import
org.apache.shardingsphere.cluster.heartbeat.response.HeartbeatResponse
;
import
org.apache.shardingsphere.cluster.heartbeat.response.HeartbeatResult
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
java.util.ArrayList
;
import
java.util.Collection
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/DatabaseCommunicationEngineFactory.java
浏览文件 @
04643406
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.proxy.backend.communication;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.execute.JDBCExecuteEngine
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/JDBCDatabaseCommunicationEngine.java
浏览文件 @
04643406
...
...
@@ -29,7 +29,7 @@ import org.apache.shardingsphere.infra.metadata.refresh.MetaDataRefreshStrategy;
import
org.apache.shardingsphere.infra.metadata.refresh.MetaDataRefreshStrategyFactory
;
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaDataLoader
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.orchestration.core.facade.ShardingOrchestrationFacade
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnection.java
浏览文件 @
04643406
...
...
@@ -30,7 +30,7 @@ import org.apache.shardingsphere.infra.exception.ShardingSphereException;
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.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.masterslave.route.engine.impl.MasterVisitedManager
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCBackendDataSourceFactory.java
浏览文件 @
04643406
...
...
@@ -17,7 +17,7 @@
package
org.apache.shardingsphere.proxy.backend.communication.jdbc.datasource
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
javax.sql.DataSource
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCRawBackendDataSourceFactory.java
浏览文件 @
04643406
...
...
@@ -22,7 +22,7 @@ import com.zaxxer.hikari.HikariDataSource;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.infra.exception.ShardingSphereException
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.JDBCDriverURLRecognizerEngine
;
import
javax.sql.DataSource
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/wrapper/PreparedStatementExecutorWrapper.java
浏览文件 @
04643406
...
...
@@ -31,7 +31,7 @@ import org.apache.shardingsphere.infra.rewrite.engine.result.SQLRewriteResult;
import
org.apache.shardingsphere.infra.route.DataNodeRouter
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.statement.CommonSQLStatementContext
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/wrapper/StatementExecutorWrapper.java
浏览文件 @
04643406
...
...
@@ -31,7 +31,7 @@ import org.apache.shardingsphere.infra.rewrite.engine.result.SQLRewriteResult;
import
org.apache.shardingsphere.infra.route.DataNodeRouter
;
import
org.apache.shardingsphere.infra.route.context.RouteContext
;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.apache.shardingsphere.sql.parser.binder.statement.CommonSQLStatementContext
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/response/query/QueryHeaderBuilder.java
浏览文件 @
04643406
...
...
@@ -21,7 +21,7 @@ import lombok.AccessLevel;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.infra.executor.sql.raw.execute.result.query.QueryHeader
;
import
org.apache.shardingsphere.infra.rule.DataNodeRoutedRule
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.table.TableMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.segment.select.projection.Projection
;
import
org.apache.shardingsphere.sql.parser.binder.segment.select.projection.ProjectionsContext
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/schema/ProxySchemaContexts.java
浏览文件 @
04643406
...
...
@@ -39,12 +39,12 @@ import org.apache.shardingsphere.infra.rule.ShardingSphereRule;
import
org.apache.shardingsphere.infra.rule.ShardingSphereRulesBuilder
;
import
org.apache.shardingsphere.infra.rule.StatusContainedRule
;
import
org.apache.shardingsphere.infra.rule.event.impl.DataSourceNameDisabledEvent
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContextsBuilder
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContextsBuilder
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.orchestration.core.common.event.AuthenticationChangedEvent
;
import
org.apache.shardingsphere.orchestration.core.common.event.DataSourceChangedEvent
;
import
org.apache.shardingsphere.orchestration.core.common.event.PropertiesChangedEvent
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/util/DataSourceConverter.java
浏览文件 @
04643406
...
...
@@ -21,7 +21,7 @@ import com.zaxxer.hikari.HikariDataSource;
import
lombok.AccessLevel
;
import
lombok.NoArgsConstructor
;
import
org.apache.shardingsphere.infra.config.DataSourceConfiguration
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
java.lang.reflect.Field
;
import
java.util.LinkedHashMap
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/TextProtocolBackendHandlerFactoryTest.java
浏览文件 @
04643406
...
...
@@ -19,8 +19,8 @@ package org.apache.shardingsphere.proxy.backend;
import
org.apache.shardingsphere.infra.database.type.DatabaseType
;
import
org.apache.shardingsphere.infra.database.type.DatabaseTypes
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.ConnectionStateHandler
;
import
org.apache.shardingsphere.proxy.backend.text.TextProtocolBackendHandler
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/DatabaseCommunicationEngineFactoryTest.java
浏览文件 @
04643406
...
...
@@ -17,8 +17,8 @@
package
org.apache.shardingsphere.proxy.backend.communication.jdbc
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendConnectionTest.java
浏览文件 @
04643406
...
...
@@ -22,10 +22,10 @@ import org.apache.shardingsphere.infra.auth.Authentication;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.exception.ShardingSphereException
;
import
org.apache.shardingsphere.infra.executor.sql.ConnectionMode
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts.JDBCBackendDataSource
;
import
org.apache.shardingsphere.transaction.ShardingTransactionManagerEngine
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/connection/BackendTransactionManagerTest.java
浏览文件 @
04643406
...
...
@@ -18,8 +18,8 @@
package
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection
;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.transaction.ShardingTransactionManagerEngine
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.apache.shardingsphere.transaction.spi.ShardingTransactionManager
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/datasource/JDBCBackendDataSourceTest.java
浏览文件 @
04643406
...
...
@@ -22,10 +22,10 @@ import lombok.SneakyThrows;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.executor.sql.ConnectionMode
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.apache.shardingsphere.transaction.ShardingTransactionManagerEngine
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/context/ShardingSphereProxyContextTest.java
浏览文件 @
04643406
...
...
@@ -22,10 +22,10 @@ import org.apache.shardingsphere.infra.auth.Authentication;
import
org.apache.shardingsphere.infra.auth.ProxyUser
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationPropertyKey
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.runtime.RuntimeContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.orchestration.core.common.event.AuthenticationChangedEvent
;
import
org.apache.shardingsphere.orchestration.core.common.event.PropertiesChangedEvent
;
import
org.apache.shardingsphere.orchestration.core.common.eventbus.ShardingOrchestrationEventBus
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/response/query/QueryHeaderBuilderTest.java
浏览文件 @
04643406
...
...
@@ -22,8 +22,8 @@ import org.apache.shardingsphere.infra.executor.sql.raw.execute.result.query.Que
import
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData
;
import
org.apache.shardingsphere.infra.metadata.datasource.DataSourceMetas
;
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.sharding.rule.ShardingRule
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.column.ColumnMetaData
;
import
org.apache.shardingsphere.sql.parser.binder.metadata.index.IndexMetaData
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/BroadcastBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -20,8 +20,8 @@ package org.apache.shardingsphere.proxy.backend.text.admin;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/ShowDatabasesBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -21,8 +21,8 @@ import lombok.SneakyThrows;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.auth.ProxyUser
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.response.query.QueryData
;
import
org.apache.shardingsphere.proxy.backend.response.query.QueryResponse
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/UnicastBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -20,8 +20,8 @@ package org.apache.shardingsphere.proxy.backend.text.admin;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -21,8 +21,8 @@ import lombok.SneakyThrows;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.auth.ProxyUser
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.response.BackendResponse
;
import
org.apache.shardingsphere.proxy.backend.response.error.ErrorResponse
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/sctl/hint/ShardingCTLHintBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -22,8 +22,8 @@ import org.apache.shardingsphere.infra.hint.HintManager;
import
org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData
;
import
org.apache.shardingsphere.infra.metadata.datasource.DataSourceMetas
;
import
org.apache.shardingsphere.infra.metadata.schema.RuleSchemaMetaData
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.response.BackendResponse
;
import
org.apache.shardingsphere.proxy.backend.response.error.ErrorResponse
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
浏览文件 @
04643406
...
...
@@ -20,8 +20,8 @@ package org.apache.shardingsphere.proxy.backend.text.sctl.set;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.response.BackendResponse
;
import
org.apache.shardingsphere.proxy.backend.response.error.ErrorResponse
;
...
...
shardingsphere-proxy/shardingsphere-proxy-backend/src/test/java/org/apache/shardingsphere/proxy/backend/util/DataSourceConverterTest.java
浏览文件 @
04643406
...
...
@@ -19,7 +19,7 @@ package org.apache.shardingsphere.proxy.backend.util;
import
com.zaxxer.hikari.HikariDataSource
;
import
org.apache.shardingsphere.infra.config.DataSourceConfiguration
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
org.junit.Test
;
import
java.util.HashMap
;
...
...
shardingsphere-proxy/shardingsphere-proxy-bootstrap/src/main/java/org/apache/shardingsphere/proxy/Bootstrap.java
浏览文件 @
04643406
...
...
@@ -34,7 +34,7 @@ import org.apache.shardingsphere.infra.log.ConfigurationLogger;
import
org.apache.shardingsphere.infra.yaml.config.YamlRootRuleConfigurations
;
import
org.apache.shardingsphere.infra.yaml.config.YamlRuleConfiguration
;
import
org.apache.shardingsphere.infra.yaml.swapper.YamlRuleConfigurationSwapperEngine
;
import
org.apache.shardingsphere.kern
a
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.kern
e
l.context.schema.DataSourceParameter
;
import
org.apache.shardingsphere.metrics.configuration.swapper.MetricsConfigurationYamlSwapper
;
import
org.apache.shardingsphere.metrics.configuration.yaml.YamlMetricsConfiguration
;
import
org.apache.shardingsphere.metrics.facade.MetricsTrackerFacade
;
...
...
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutor.java
浏览文件 @
04643406
...
...
@@ -26,7 +26,7 @@ import org.apache.shardingsphere.db.protocol.mysql.packet.command.query.binary.p
import
org.apache.shardingsphere.db.protocol.mysql.packet.generic.MySQLEofPacket
;
import
org.apache.shardingsphere.db.protocol.mysql.packet.generic.MySQLErrPacket
;
import
org.apache.shardingsphere.db.protocol.packet.DatabasePacket
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.frontend.api.CommandExecutor
;
import
org.apache.shardingsphere.sql.parser.sql.statement.SQLStatement
;
...
...
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/auth/MySQLAuthenticationEngineTest.java
浏览文件 @
04643406
...
...
@@ -29,9 +29,9 @@ import org.apache.shardingsphere.db.protocol.mysql.packet.handshake.MySQLHandsha
import
org.apache.shardingsphere.db.protocol.mysql.payload.MySQLPacketPayload
;
import
org.apache.shardingsphere.infra.auth.Authentication
;
import
org.apache.shardingsphere.infra.config.properties.ConfigurationProperties
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContexts
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.schema.ProxySchemaContexts
;
import
org.junit.Before
;
...
...
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandExecutorFactoryTest.java
浏览文件 @
04643406
...
...
@@ -26,8 +26,8 @@ import org.apache.shardingsphere.db.protocol.mysql.packet.command.query.binary.r
import
org.apache.shardingsphere.db.protocol.mysql.packet.command.query.text.fieldlist.MySQLComFieldListPacket
;
import
org.apache.shardingsphere.db.protocol.mysql.packet.command.query.text.query.MySQLComQueryPacket
;
import
org.apache.shardingsphere.db.protocol.packet.CommandPacket
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
a
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.schema.ShardingSphereSchema
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.frontend.mysql.command.admin.initdb.MySQLComInitDbExecutor
;
import
org.apache.shardingsphere.proxy.frontend.mysql.command.admin.ping.MySQLComPingExecutor
;
...
...
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-mysql/src/test/java/org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutorTest.java
浏览文件 @
04643406
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.proxy.frontend.mysql.command.query.binary.exec
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.db.protocol.mysql.packet.command.query.binary.execute.MySQLComStmtExecutePacket
;
import
org.apache.shardingsphere.infra.executor.sql.raw.execute.result.query.QueryHeader
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.backend.response.error.ErrorResponse
;
...
...
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/command/query/binary/parse/PostgreSQLComParseExecutor.java
浏览文件 @
04643406
...
...
@@ -22,7 +22,7 @@ import org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.bin
import
org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.binary.ConnectionScopeBinaryStatementRegistry
;
import
org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.binary.parse.PostgreSQLComParsePacket
;
import
org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.binary.parse.PostgreSQLParseCompletePacket
;
import
org.apache.shardingsphere.kern
a
l.context.SchemaContext
;
import
org.apache.shardingsphere.kern
e
l.context.SchemaContext
;
import
org.apache.shardingsphere.proxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.proxy.frontend.api.CommandExecutor
;
import
org.apache.shardingsphere.sql.parser.sql.statement.SQLStatement
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录