You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/11/21 05:16:41 UTC

[shardingsphere] branch master updated: Update the sub class[QueryBackendHandler] of TextProtocolBackendHandler (#8261)

This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c4b03e4  Update the sub class[QueryBackendHandler] of TextProtocolBackendHandler (#8261)
c4b03e4 is described below

commit c4b03e457863edf0beb21a65323d9afab1a650af
Author: Fiora <41...@users.noreply.github.com>
AuthorDate: Sat Nov 21 13:16:09 2020 +0800

    Update the sub class[QueryBackendHandler] of TextProtocolBackendHandler (#8261)
    
    Co-authored-by: liangjinhao <lj...@jianzhimao.com>
---
 .../shardingsphere/proxy/backend/text/query/QueryBackendHandler.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/query/QueryBackendHandler.java b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/query/QueryBackendHandler.java
index aedc408..f8e8e34 100644
--- a/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/query/QueryBackendHandler.java
+++ b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/query/QueryBackendHandler.java
@@ -28,7 +28,7 @@ import org.apache.shardingsphere.proxy.backend.text.TextProtocolBackendHandler;
 import org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement;
 
 import java.sql.SQLException;
-import java.util.List;
+import java.util.Collection;
 
 /**
  * Backend handler with query.
@@ -61,7 +61,7 @@ public final class QueryBackendHandler implements TextProtocolBackendHandler {
     }
     
     @Override
-    public List<Object> getRowData() throws SQLException {
+    public Collection<Object> getRowData() throws SQLException {
         return databaseCommunicationEngine.getQueryData().getData();
     }
 }