This is an automated email from the ASF dual-hosted git repository.
zhangyonglun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from 72229a4 improve SQL Parser doc (#8138)
new 34360aa Add AbstractJDBCQueryResult
new 84e2d3f Rename MemoryJDBCQueryResult and StreamJDBCQueryResult
new 1f07548 Add AbstractJDBCQueryResultTest
new cf3fdc7 Remove useless mock for StreamJDBCQueryResultTest
new 2aa98c7 refactor MemoryJDBCQueryResult
new 7430cd7 Merge pull request #8197 from terrymanu/dev
The 27434 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../queryresult/jdbc/AbstractJDBCQueryResult.java | 44 ++++-------
.../MemoryJDBCQueryResult.java} | 47 ++++--------
.../StreamJDBCQueryResult.java} | 35 ++-------
.../jdbc/AbstractJDBCQueryResultTest.java | 69 +++++++++++++++++
.../MemoryJDBCQueryResultTest.java} | 87 +++++++++-------------
.../StreamJDBCQueryResultTest.java} | 82 ++++++++------------
.../fixture/AbstractJDBCQueryResultFixture.java | 39 ++++------
.../fixture/decorator/ResultDecoratorFixture.java | 6 +-
.../merge/fixture/merger/ResultMergerFixture.java | 4 +-
.../driver/executor/PreparedStatementExecutor.java | 6 +-
.../driver/executor/StatementExecutor.java | 6 +-
.../statement/ShardingSpherePreparedStatement.java | 4 +-
.../core/statement/ShardingSphereStatement.java | 4 +-
.../engine/jdbc/ProxySQLExecutorCallback.java | 6 +-
14 files changed, 199 insertions(+), 240 deletions(-)
copy
shardingsphere-transaction/shardingsphere-transaction-2pc/shardingsphere-transaction-xa/shardingsphere-transaction-xa-bitronix/src/main/java/org/apache/shardingsphere/transaction/xa/bitronix/manager/SingleXAResourceHolder.java
=>
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/resourced/jdbc/queryresult/jdbc/AbstractJDBCQueryResult.java
(51%)
rename
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/resourced/jdbc/queryresult/{MemoryQueryResult.java
=> jdbc/MemoryJDBCQueryResult.java} (76%)
rename
shardingsphere-infra/shardingsphere-infra-executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/resourced/jdbc/queryresult/{StreamQueryResult.java
=> jdbc/StreamJDBCQueryResult.java} (80%)
create mode 100644
shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/jdbc/queryresult/jdbc/AbstractJDBCQueryResultTest.java
rename
shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/jdbc/queryresult/{MemoryQueryResultTest.java
=> jdbc/MemoryJDBCQueryResultTest.java} (81%)
rename
shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/jdbc/queryresult/{StreamQueryResultTest.java
=> jdbc/StreamJDBCQueryResultTest.java} (69%)
copy
shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-merge/src/main/java/org/apache/shardingsphere/sharding/merge/dal/common/SingleLocalDataMergedResult.java
=>
shardingsphere-infra/shardingsphere-infra-executor/src/test/java/org/apache/shardingsphere/infra/executor/sql/jdbc/queryresult/jdbc/fixture/AbstractJDBCQueryResultFixture.java
(59%)