Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Shardingsphere
提交
3551a1b7
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,体验更适合开发者的 AI 搜索 >>
提交
3551a1b7
编写于
2月 25, 2019
作者:
T
terrymanu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
for #1898, result => response
上级
355992f8
变更
39
隐藏空白更改
内联
并排
Showing
39 changed file
with
113 addition
and
113 deletion
+113
-113
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/DatabaseCommunicationEngine.java
...xy/backend/communication/DatabaseCommunicationEngine.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/JDBCDatabaseCommunicationEngine.java
...d/communication/jdbc/JDBCDatabaseCommunicationEngine.java
+6
-6
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/JDBCExecuteEngine.java
...backend/communication/jdbc/execute/JDBCExecuteEngine.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/SQLExecuteEngine.java
.../backend/communication/jdbc/execute/SQLExecuteEngine.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/callback/ProxySQLExecuteCallback.java
...cation/jdbc/execute/callback/ProxySQLExecuteCallback.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/response/ExecuteQueryResponseUnit.java
...ation/jdbc/execute/response/ExecuteQueryResponseUnit.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/BackendResponse.java
...phere/shardingproxy/backend/response/BackendResponse.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/error/ErrorResponse.java
...e/shardingproxy/backend/response/error/ErrorResponse.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/query/QueryData.java
...phere/shardingproxy/backend/response/query/QueryData.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/query/QueryHeader.java
...ere/shardingproxy/backend/response/query/QueryHeader.java
+1
-1
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/query/QueryResponse.java
...e/shardingproxy/backend/response/query/QueryResponse.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/response/update/UpdateResponse.java
...shardingproxy/backend/response/update/UpdateResponse.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/TextProtocolBackendHandler.java
...hardingproxy/backend/text/TextProtocolBackendHandler.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/BroadcastBackendHandler.java
...dingproxy/backend/text/admin/BroadcastBackendHandler.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/GUICompatibilityBackendHandler.java
...xy/backend/text/admin/GUICompatibilityBackendHandler.java
+3
-3
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/ShowDatabasesBackendHandler.java
...proxy/backend/text/admin/ShowDatabasesBackendHandler.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UnicastBackendHandler.java
...ardingproxy/backend/text/admin/UnicastBackendHandler.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UseDatabaseBackendHandler.java
...ngproxy/backend/text/admin/UseDatabaseBackendHandler.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/query/QueryBackendHandler.java
...shardingproxy/backend/text/query/QueryBackendHandler.java
+3
-3
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/set/ShardingCTLSetBackendHandler.java
...y/backend/text/sctl/set/ShardingCTLSetBackendHandler.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/show/ShardingCTLShowBackendHandler.java
...backend/text/sctl/show/ShardingCTLShowBackendHandler.java
+5
-5
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/SkipBackendHandler.java
...ingproxy/backend/text/transaction/SkipBackendHandler.java
+3
-3
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/TransactionBackendHandler.java
...y/backend/text/transaction/TransactionBackendHandler.java
+4
-4
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/binary/execute/MySQLQueryComStmtExecutePacket.java
.../query/binary/execute/MySQLQueryComStmtExecutePacket.java
+5
-5
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacket.java
...command/query/text/fieldlist/MySQLComFieldListPacket.java
+2
-2
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/query/MySQLComPacketQuery.java
.../packet/command/query/text/query/MySQLComPacketQuery.java
+6
-6
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/binary/bind/PostgreSQLComBindPacket.java
...et/command/query/binary/bind/PostgreSQLComBindPacket.java
+5
-5
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/text/PostgreSQLComQueryPacket.java
...l/packet/command/query/text/PostgreSQLComQueryPacket.java
+5
-5
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/BroadcastBackendHandlerTest.java
...proxy/backend/text/admin/BroadcastBackendHandlerTest.java
+3
-3
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/ShowDatabasesBackendHandlerTest.java
...y/backend/text/admin/ShowDatabasesBackendHandlerTest.java
+2
-2
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UnicastBackendHandlerTest.java
...ngproxy/backend/text/admin/UnicastBackendHandlerTest.java
+2
-2
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
...oxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
+3
-3
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
...ckend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
+3
-3
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/show/ShardingCTLShowBackendHandlerTest.java
...end/text/sctl/show/ShardingCTLShowBackendHandlerTest.java
+4
-4
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/SkipBackendHandlerTest.java
...roxy/backend/text/transaction/SkipBackendHandlerTest.java
+2
-2
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/TransactionBackendHandlerTest.java
...ckend/text/transaction/TransactionBackendHandlerTest.java
+2
-2
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
...d/query/binary/execute/MySQLComStmtExecutePacketTest.java
+2
-2
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
...and/query/text/fieldlist/MySQLComFieldListPacketTest.java
+3
-3
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
...ket/command/query/text/query/MySQLComQueryPacketTest.java
+2
-2
未找到文件。
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/DatabaseCommunicationEngine.java
浏览文件 @
3551a1b7
...
...
@@ -17,8 +17,8 @@
package
org.apache.shardingsphere.shardingproxy.backend.communication
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
java.sql.SQLException
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/JDBCDatabaseCommunicationEngine.java
浏览文件 @
3551a1b7
...
...
@@ -32,12 +32,12 @@ import org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCom
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.ConnectionStatus
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.JDBCExecuteEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.LogicSchema
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.ShardingSchema
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/JDBCExecuteEngine.java
浏览文件 @
3551a1b7
...
...
@@ -32,10 +32,10 @@ import org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execut
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteQueryResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.JDBCExecutorWrapper
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.ExecutorContext
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/SQLExecuteEngine.java
浏览文件 @
3551a1b7
...
...
@@ -18,7 +18,7 @@
package
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute
;
import
org.apache.shardingsphere.core.routing.SQLRouteResult
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
java.sql.SQLException
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/callback/ProxySQLExecuteCallback.java
浏览文件 @
3551a1b7
...
...
@@ -29,7 +29,7 @@ import org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execut
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteUpdateResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.JDBCExecutorWrapper
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.LogicSchema
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.MasterSlaveSchema
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/response/ExecuteQueryResponseUnit.java
浏览文件 @
3551a1b7
...
...
@@ -20,7 +20,7 @@ package org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execu
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.core.merger.QueryResult
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
java.util.List
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/BackendResponse.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/BackendResponse.java
浏览文件 @
3551a1b7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
;
/**
* Backend response.
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/error/ErrorResponse.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/error/ErrorResponse.java
浏览文件 @
3551a1b7
...
...
@@ -15,11 +15,11 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error
;
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.constant.MySQLServerErrorCode
;
import
java.sql.SQLException
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/query/QueryData.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/query/QueryData.java
浏览文件 @
3551a1b7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query
;
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/query/QueryHeader.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/query/QueryHeader.java
浏览文件 @
3551a1b7
...
...
@@ -15,7 +15,7 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query
;
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/query/QueryResponse.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/query/QueryResponse.java
浏览文件 @
3551a1b7
...
...
@@ -15,12 +15,12 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query
;
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.core.merger.QueryResult
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
java.util.LinkedList
;
import
java.util.List
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ult
/update/UpdateResponse.java
→
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/res
ponse
/update/UpdateResponse.java
浏览文件 @
3551a1b7
...
...
@@ -15,12 +15,12 @@
* limitations under the License.
*/
package
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update
;
package
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update
;
import
lombok.Getter
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.execute.response.ExecuteUpdateResponseUnit
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
java.util.Collection
;
import
java.util.Collections
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/TextProtocolBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -17,8 +17,8 @@
package
org.apache.shardingsphere.shardingproxy.backend.text
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
java.sql.SQLException
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/BroadcastBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -20,10 +20,10 @@ package org.apache.shardingsphere.shardingproxy.backend.text.admin;
import
lombok.RequiredArgsConstructor
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/GUICompatibilityBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -17,9 +17,9 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.admin
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
/**
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/ShowDatabasesBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -19,10 +19,10 @@ package org.apache.shardingsphere.shardingproxy.backend.text.admin;
import
org.apache.shardingsphere.core.merger.MergedResult
;
import
org.apache.shardingsphere.core.merger.dal.show.ShowDatabasesMergedResult
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UnicastBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -21,8 +21,8 @@ import lombok.RequiredArgsConstructor;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UseDatabaseBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -21,10 +21,10 @@ import lombok.RequiredArgsConstructor;
import
org.apache.shardingsphere.core.parsing.parser.dialect.mysql.statement.UseStatement
;
import
org.apache.shardingsphere.core.util.SQLUtil
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.constant.MySQLServerErrorCode
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/query/QueryBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -21,9 +21,9 @@ import lombok.RequiredArgsConstructor;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.constant.MySQLServerErrorCode
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/set/ShardingCTLSetBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -19,10 +19,10 @@ package org.apache.shardingsphere.shardingproxy.backend.text.sctl.set;
import
com.google.common.base.Optional
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/show/ShardingCTLShowBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -21,11 +21,11 @@ import com.google.common.base.Optional;
import
org.apache.shardingsphere.core.merger.MergedResult
;
import
org.apache.shardingsphere.core.merger.dal.show.ShowShardingCTLMergedResult
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
java.sql.SQLException
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/SkipBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -17,9 +17,9 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.transaction
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
/**
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/TransactionBackendHandler.java
浏览文件 @
3551a1b7
...
...
@@ -19,10 +19,10 @@ package org.apache.shardingsphere.shardingproxy.backend.text.transaction;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendTransactionManager
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.transaction.core.TransactionOperationType
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/binary/execute/MySQLQueryComStmtExecutePacket.java
浏览文件 @
3551a1b7
...
...
@@ -24,11 +24,11 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.DatabasePacket
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.command.CommandResponsePackets
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacket.java
浏览文件 @
3551a1b7
...
...
@@ -23,8 +23,8 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.command.CommandResponsePackets
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.constant.MySQLColumnType
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.packet.MySQLPacketPayload
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/query/MySQLComPacketQuery.java
浏览文件 @
3551a1b7
...
...
@@ -21,12 +21,12 @@ import com.google.common.base.Optional;
import
lombok.Getter
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandlerFactory
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/binary/bind/PostgreSQLComBindPacket.java
浏览文件 @
3551a1b7
...
...
@@ -23,11 +23,11 @@ import lombok.extern.slf4j.Slf4j;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.DatabasePacket
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.command.CommandResponsePackets
;
...
...
sharding-proxy/src/main/java/org/apache/shardingsphere/shardingproxy/transport/postgresql/packet/command/query/text/PostgreSQLComQueryPacket.java
浏览文件 @
3551a1b7
...
...
@@ -21,11 +21,11 @@ import com.google.common.base.Optional;
import
lombok.Getter
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryHeader
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandlerFactory
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/BroadcastBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -22,9 +22,9 @@ import org.apache.shardingsphere.shardingproxy.backend.MockGlobalRegistryUtil;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.LogicSchema
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/ShowDatabasesBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -18,8 +18,8 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.admin
;
import
org.apache.shardingsphere.shardingproxy.backend.MockGlobalRegistryUtil
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UnicastBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -22,8 +22,8 @@ import org.apache.shardingsphere.shardingproxy.backend.MockGlobalRegistryUtil;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngineFactory
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.LogicSchema
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.junit.Before
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/admin/UseDatabaseBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -20,9 +20,9 @@ package org.apache.shardingsphere.shardingproxy.backend.text.admin;
import
org.apache.shardingsphere.core.parsing.parser.dialect.mysql.statement.UseStatement
;
import
org.apache.shardingsphere.shardingproxy.backend.MockGlobalRegistryUtil
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/set/ShardingCTLSetBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -18,9 +18,9 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.sctl.set
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.junit.Test
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/sctl/show/ShardingCTLShowBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -18,10 +18,10 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.sctl.show
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.hamcrest.CoreMatchers
;
import
org.junit.Test
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/SkipBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -17,8 +17,8 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.transaction
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.junit.Test
;
import
static
org
.
hamcrest
.
CoreMatchers
.
instanceOf
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/backend/text/transaction/TransactionBackendHandlerTest.java
浏览文件 @
3551a1b7
...
...
@@ -18,8 +18,8 @@
package
org.apache.shardingsphere.shardingproxy.backend.text.transaction
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.update.UpdateResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.update.UpdateResponse
;
import
org.apache.shardingsphere.transaction.core.TransactionOperationType
;
import
org.apache.shardingsphere.transaction.core.TransactionType
;
import
org.junit.Test
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacketTest.java
浏览文件 @
3551a1b7
...
...
@@ -21,8 +21,8 @@ import com.google.common.base.Optional;
import
lombok.SneakyThrows
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.DatabasePacket
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.command.CommandResponsePackets
;
import
org.apache.shardingsphere.shardingproxy.transport.mysql.packet.MySQLPacketPayload
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/fieldlist/MySQLComFieldListPacketTest.java
浏览文件 @
3551a1b7
...
...
@@ -23,9 +23,9 @@ import org.apache.shardingsphere.core.constant.properties.ShardingProperties;
import
org.apache.shardingsphere.core.constant.properties.ShardingPropertiesConstant
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.DatabaseCommunicationEngine
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.BackendResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.error.ErrorResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.DatabasePacket
;
import
org.apache.shardingsphere.shardingproxy.transport.common.packet.command.CommandResponsePackets
;
...
...
sharding-proxy/src/test/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/query/MySQLComQueryPacketTest.java
浏览文件 @
3551a1b7
...
...
@@ -22,8 +22,8 @@ import lombok.SneakyThrows;
import
org.apache.shardingsphere.core.constant.ShardingConstant
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.BackendConnection
;
import
org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.connection.ConnectionStatus
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ult
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryData
;
import
org.apache.shardingsphere.shardingproxy.backend.res
ponse
.query.QueryResponse
;
import
org.apache.shardingsphere.shardingproxy.backend.text.TextProtocolBackendHandler
;
import
org.apache.shardingsphere.shardingproxy.runtime.GlobalRegistry
;
import
org.apache.shardingsphere.shardingproxy.runtime.schema.ShardingSchema
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录