From a4342cafbadd4ebb0aa7d0a67cffa09007fbc8d1 Mon Sep 17 00:00:00 2001 From: linghengqian Date: Thu, 3 Oct 2024 22:27:14 +0800 Subject: [PATCH] Support connecting to Postgres via DistSQL in Proxy Native --- RELEASE-NOTES.md | 1 + .../graalvm-native-image/_index.cn.md | 12 +- .../graalvm-native-image/_index.en.md | 12 +- .../startup/graalvm-native-image.cn.md | 41 +- .../startup/graalvm-native-image.en.md | 50 +- .../reflect-config.json | 485 ++++--- .../resource-config.json | 1255 ++++++++++++----- .../reflect-config.json | 30 +- .../commons/TestShardingService.java | 14 +- ...ssBasedInlineShardingAlgorithmFixture.java | 2 +- ...QueryAssistedShardingEncryptAlgorithm.java | 2 +- .../{jdbc => }/commons/entity/Address.java | 2 +- .../{jdbc => }/commons/entity/Order.java | 2 +- .../{jdbc => }/commons/entity/OrderItem.java | 2 +- .../proxy}/ProxyTestingServer.java | 2 +- .../commons/repository/AddressRepository.java | 4 +- .../repository/OrderItemRepository.java | 4 +- .../commons/repository/OrderRepository.java | 4 +- .../testcontainers/ClickHouseProvider.java | 2 +- .../jdbc/databases/ClickHouseTest.java | 2 +- .../test/natived/jdbc/databases/HiveTest.java | 2 +- .../natived/jdbc/databases/MySQLTest.java | 2 +- .../natived/jdbc/databases/OpenGaussTest.java | 2 +- .../natived/jdbc/databases/PostgresTest.java | 2 +- .../natived/jdbc/databases/SQLServerTest.java | 2 +- .../natived/jdbc/features/EncryptTest.java | 12 +- .../test/natived/jdbc/features/MaskTest.java | 12 +- .../jdbc/features/ReadWriteSplittingTest.java | 12 +- .../natived/jdbc/features/ShadowTest.java | 12 +- .../natived/jdbc/features/ShardingTest.java | 2 +- .../natived/jdbc/modes/cluster/EtcdTest.java | 2 +- .../jdbc/modes/cluster/ZookeeperTest.java | 2 +- .../jdbc/transactions/base/SeataTest.java | 2 +- .../jdbc/transactions/xa/AtomikosTest.java | 2 +- .../jdbc/transactions/xa/NarayanaTest.java | 2 +- .../natived/proxy/databases/PostgresTest.java | 168 +++ .../natived/proxy/features/ShardingTest.java | 8 +- .../reflect-config.json | 4 +- ...hardingsphere.encrypt.spi.EncryptAlgorithm | 2 +- ...s.containers.JdbcDatabaseContainerProvider | 2 +- .../yaml/databases/clickhouse.yaml | 2 +- .../test-native/yaml/databases/hive.yaml | 2 +- .../test-native/yaml/databases/mysql.yaml | 2 +- .../test-native/yaml/databases/opengauss.yaml | 2 +- .../yaml/databases/postgresql.yaml | 2 +- .../test-native/yaml/databases/sqlserver.yaml | 2 +- .../test-native/yaml/features/sharding.yaml | 2 +- .../test-native/yaml/modes/cluster/etcd.yaml | 2 +- .../yaml/modes/cluster/zookeeper.yaml | 2 +- .../proxy/databases/postgresql/global.yaml | 30 + .../proxy/features/{ => sharding}/global.yaml | 0 .../yaml/transactions/base/seata.yaml | 2 +- .../yaml/transactions/xa/atomikos.yaml | 2 +- .../yaml/transactions/xa/narayana.yaml | 2 +- 54 files changed, 1565 insertions(+), 671 deletions(-) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/TestShardingService.java (95%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java (96%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java (96%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/entity/Address.java (94%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/entity/Order.java (94%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/entity/OrderItem.java (94%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{proxy/commons => commons/proxy}/ProxyTestingServer.java (97%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/repository/AddressRepository.java (97%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/repository/OrderItemRepository.java (98%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/repository/OrderRepository.java (98%) rename test/native/src/test/java/org/apache/shardingsphere/test/natived/{jdbc => }/commons/testcontainers/ClickHouseProvider.java (96%) create mode 100644 test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/databases/PostgresTest.java create mode 100644 test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml rename test/native/src/test/resources/test-native/yaml/proxy/features/{ => sharding}/global.yaml (100%) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index f5605ea01e25c..669975d6f8b73 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -10,6 +10,7 @@ 1. SQL Parser: Support PostgreSQL, openGauss function table and update from segment parse - [#32994](https://github.com/apache/shardingsphere/pull/32994) 2. DistSQL: Support running DistSQL under Proxy Native in the form of GraalVM Native Image - [#33095](https://github.com/apache/shardingsphere/pull/33095) +2. DistSQL: Support connecting to Postgres via DistSQL in Proxy Native - [#33124](https://github.com/apache/shardingsphere/pull/33124) ### Bug Fix diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md index de09536872249..2cf6170ed98cd 100644 --- a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md +++ b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.cn.md @@ -451,6 +451,12 @@ HiveServer2 不支持 ShardingSphere 集成级别的本地事务,XA 事务和 8. 由于 https://github.com/oracle/graal/issues/7979 的影响, 对应 `com.oracle.database.jdbc:ojdbc8` Maven 模块的 Oracle JDBC Driver 无法在 GraalVM Native Image 下使用。 +9. 由于 https://github.com/apache/doris/issues/9426 的影响,当通过 Shardinghere JDBC 连接至 Apache Doris FE, +用户需自行提供 `apache/doris` 集成模块相关的 GraalVM Reachability Metadata。 + +10. 由于 https://github.com/prestodb/presto/issues/23226 的影响,当通过 Shardinghere JDBC 连接至 Presto Server, +用户需自行提供 `com.facebook.presto:presto-jdbc` 和 `prestodb/presto` 集成模块相关的 GraalVM Reachability Metadata。 + ## 贡献 GraalVM Reachability Metadata ShardingSphere 对在 GraalVM Native Image 下的可用性的验证,是通过 GraalVM Native Build Tools 的 Maven Plugin 子项目来完成的。 @@ -463,13 +469,13 @@ ShardingSphere 定义了 `shardingsphere-test-native` 的 Maven Module 用于为 ShardingSphere 定义了 `nativeTestInShardingSphere` 的 Maven Profile 用于为 `shardingsphere-test-native` 模块执行 nativeTest 。 +贡献者必须安装 Docker Engine 以执行 `testcontainers-java` 相关的单元测试,以 https://java.testcontainers.org/supported_docker_environment/ 为准。 + 假设贡献者处于新的 Ubuntu 22.04.4 LTS 实例下,其可通过如下 bash 命令通过 SDKMAN! 管理 JDK 和工具链, 并为 `shardingsphere-test-native` 子模块执行 nativeTest。 -你必须安装 Docker Engine 以执行 `testcontainers-java` 相关的单元测试。 - ```bash -sudo apt install unzip zip curl sed -y +sudo apt install unzip zip -y curl -s "https://get.sdkman.io" | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install java 22.0.2-graalce diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.en.md index bdd9e7dca6723..e85f6d60de15f 100644 --- a/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.en.md +++ b/docs/document/content/user-manual/shardingsphere-jdbc/graalvm-native-image/_index.en.md @@ -468,6 +468,12 @@ More discussion is available at https://cwiki.apache.org/confluence/display/Hive 8. Due to https://github.com/oracle/graal/issues/7979 , the Oracle JDBC Driver corresponding to the `com.oracle.database.jdbc:ojdbc8` Maven module cannot be used under GraalVM Native Image. +9. Due to https://github.com/apache/doris/issues/9426, when connecting to Apache Doris FE via Shardinghere JDBC, + users need to provide GraalVM Reachability Metadata related to the `apache/doris` integration module. + +10. Due to https://github.com/prestodb/presto/issues/23226, when connecting to Presto Server via Shardinghere JDBC, + users need to provide GraalVM Reachability Metadata related to the `com.facebook.presto:presto-jdbc` and `prestodb/presto` integration module. + ## Contribute GraalVM Reachability Metadata The verification of ShardingSphere's availability under GraalVM Native Image is completed through the Maven Plugin subproject @@ -481,13 +487,13 @@ This subset of unit tests avoids the use of third-party libraries such as Mockit ShardingSphere defines the Maven Profile of `nativeTestInShardingSphere` for executing nativeTest for the `shardingsphere-test-native` module. +Contributors must install Docker Engine to execute unit tests related to `testcontainers-java`, as per https://java.testcontainers.org/supported_docker_environment/ . + Assuming that the contributor is under a new Ubuntu 22.04.4 LTS instance, Contributors can manage the JDK and tool chain through `SDKMAN!` through the following bash command, and execute nativeTest for the `shardingsphere-test-native` submodule. -You must install Docker Engine to execute `testcontainers-java` related unit tests. - ```bash -sudo apt install unzip zip curl sed -y +sudo apt install unzip zip -y curl -s "https://get.sdkman.io" | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install java 22.0.2-graalce diff --git a/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.cn.md index 08570688f110b..b1a77993c8f7a 100644 --- a/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.cn.md +++ b/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.cn.md @@ -14,8 +14,8 @@ GraalVM Native Image 的背景信息可参考 https://www.graalvm.org 。 ## 注意事项 -本节涉及的所有 Docker Image 均不通过 https://downloads.apache.org ,https://repository.apache.org/ 等 ASF 官方渠道进行分发。 -Docker Image 仅在 `ghcr.io` 等下游渠道提供以方便使用。 +本节涉及的所有 Docker Image 均不通过 https://downloads.apache.org ,https://repository.apache.org 等 ASF 官方渠道进行分发。 +Docker Image 仅在 `GitHub Packages`,`Docker Hub` 等下游渠道提供以方便使用。 Proxy 的 Native Image 产物在 https://github.com/apache/shardingsphere/pkgs/container/shardingsphere-proxy-native 存在每夜构建。 假设存在包含 `global.yaml` 的 `conf` 文件夹为 `./custom/conf`,你可通过如下的 `docker-compose.yml` 文件进行测试。 @@ -53,6 +53,9 @@ ShardingSphere Proxy Native 可执行 DistSQL,这意味着实际上不需要 若处于 Linux(riscv64)等 Graal compiler 不支持的系统环境, 请根据 https://medium.com/graalvm/graalvm-native-image-meets-risc-v-899be38eddd9 的内容启用 LLVM backend 来使用 LLVM compiler。 +用户必须对需要运行 GraalVM Native Image 的每个目标操作系统和目标体系结构,来独立构建不同的 GraalVM Native Image。 +用户可以考虑通过 Docker Image 来部分绕开此限制。 + 本节依然受到 ShardingSphere JDBC 一侧的 [GraalVM Native Image](/cn/user-manual/shardingsphere-jdbc/graalvm-native-image) 的已记录内容的限制。 ## 前提条件 @@ -114,17 +117,23 @@ cd ./shardingsphere/ 第 3 个参数为要侦听的主机,如果为 `0.0.0.0` 则允许任意数据库客户端均可访问 ShardingSphere Proxy Native 第 4 个参数为 Force Start,如果为 `true` 则保证 ShardingSphere Proxy Native 无论能否连接都能正常启动。 -假设已存在文件夹`./custom/conf`,示例为, +已完成构建的 GraalVM Native Image 的二进制文件仅可设置命令行参数。这意味着, + +(1) 用户仅可在构建 GraalVM Native Image 的过程中设置 JVM 参数 +(2) 用户无法针对已完成构建的 GraalVM Native Image 的二进制文件设置 JVM 参数 + +假设已存在文件夹`/customAbsolutePath/conf`,示例为, ```bash cd ./shardingsphere/ cd ./distribution/proxy-native/target/apache-shardingsphere-5.5.1-SNAPSHOT-shardingsphere-proxy-native-bin/ -./proxy-native "3307" "./custom/conf" "0.0.0.0" "false" +./proxy-native "3307" "/customAbsolutePath/conf" "0.0.0.0" "false" ``` 4. 如果需要构建 Docker Image, 在添加存在 SPI 实现的依赖或第三方依赖后, 在命令行执行如下命令, ```shell +cd ./shardingsphere/ ./mvnw -am -pl distribution/proxy-native -T1C -Prelease.native,docker.native -DskipTests clean package ``` @@ -140,23 +149,31 @@ services: - "3307:3307" ``` -如果你不对 Git Source 做任何更改, 上文提及的命令将使用 `oraclelinux:9-slim` 作为 Base Docker Image。 -但如果你希望使用 `busybox:glic`,`gcr.io/distroless/base` 或 `scratch` 等更小体积的 Docker Image 作为 Base Docker -Image,你需要根据 https://www.graalvm.org/jdk23/reference-manual/native-image/guides/build-static-executables/ 的要求, -做为 `pom.xml`的 `native profile` 添加 `-H:+StaticExecutableWithDynamicLibC` 的 `jvmArgs` 等操作。 -另请注意,某些第三方依赖将需要在 `Dockerfile` 安装更多系统库,例如 `libdl`。 -因此请确保根据你的使用情况调整 `distribution/proxy-native` 下的 `pom.xml` 和 `Dockerfile` 的内容。 +如果用户不对 Git Source 做任何更改,上文提及的命令将使用 `oraclelinux:9-slim` 作为 Base Docker Image。 +但如果用户希望使用 `scratch`,`alpine:3`,`gcr.io/distroless/base-debian12`, +`gcr.io/distroless/java-base-debian12` 或 `gcr.io/distroless/static-debian12` 等更小体积的 Docker Image 作为 Base Docker Image, +用户可能需要根据 https://www.graalvm.org/jdk23/reference-manual/native-image/guides/build-static-executables/ 的要求, +做为 `pom.xml`的 `Maven Profile` 添加 `--static`,`--libc=musl` 或 `--static-nolibc` 的 `buildArgs` 等操作。 + +构建静态链接的 GraalVM Native Image 需要更多系统依赖,且目前不支持为 Linux(aarch64)等环境构建静态链接的 GraalVM Native Image。 +完全静态链接的 GraalVM Native Image 采用的是 musl libc。 +大多数 Linux 系统内置的 musl 已过时,比如 Ubuntu 22.04.5 LTS 使用的 [musl (1.2.2-4) unstable](https://packages.ubuntu.com/jammy/musl)。 +用户总是需要从源代码构建和安装新版本的 musl。 + +另请注意,某些第三方 Maven 依赖将需要在 `Dockerfile` 安装更多系统库, +因此请确保根据使用情况调整 `distribution/proxy-native` 下的 `pom.xml` 和 `Dockerfile` 的内容。 ## 可观察性 针对 GraalVM Native Image 形态的 ShardingSphere Proxy,其提供的可观察性的能力与[可观察性](/cn/user-manual/shardingsphere-proxy/observability)并不一致。 用户可以使用 https://www.graalvm.org/jdk23/tools/ 提供的一系列命令行工具或可视化工具观察 GraalVM Native Image 的内部行为, -并根据其要求使用 VSCode 完成调试工作。如果用户正在使用 IntelliJ IDEA 并且希望调试生成的 GraalVM Native Image, +并根据其要求在 Linux 下使用 VSCode 完成 Debug 工作。如果用户正在使用 IntelliJ IDEA 并且希望调试生成的 GraalVM Native Image, 用户可以关注 https://blog.jetbrains.com/idea/2022/06/intellij-idea-2022-2-eap-5/#Experimental_GraalVM_Native_Debugger_for_Java 及其后继。 + 如果用户使用的不是 Linux,则无法对 GraalVM Native Image 进行 Debug,请关注尚未关闭的 https://github.com/oracle/graal/issues/5648 。 对于使用 `ShardingSphere Agent` 等 Java Agent 的情形, GraalVM 的 `native-image` 组件尚未完全支持在构建 Native Image 时使用 javaagent, -用户需要关注尚未关闭的 https://github.com/oracle/graal/issues/1065 。 +用户需要关注尚未关闭的 https://github.com/oracle/graal/issues/8177 。 若用户期望在 ShardingSphere Proxy Native 下使用这类 Java Agent,则需要关注 https://github.com/oracle/graal/pull/8077 涉及的变动。 diff --git a/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.en.md b/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.en.md index 0ea7e5f26049c..d3943d78dc06a 100644 --- a/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.en.md +++ b/docs/document/content/user-manual/shardingsphere-proxy/startup/graalvm-native-image.en.md @@ -14,8 +14,8 @@ For background information about GraalVM Native Image, please refer to https://w ## Notice -All Docker Images mentioned in this section are not distributed through ASF official channels such as https://downloads.apache.org and https://repository.apache.org/ . -Docker Images are only provided on downstream channels such as `ghcr.io` for convenience. +All Docker images mentioned in this section are not distributed through ASF official channels such as https://downloads.apache.org and https://repository.apache.org . +Docker images are only provided in downstream channels such as `GitHub Packages` and `Docker Hub` for easy use. Native Image products of Proxy exist in nightly builds at https://github.com/apache/shardingsphere/pkgs/container/shardingsphere-proxy-native . Assuming that there is a `conf` folder containing `global.yaml` as `./custom/conf`, you can test it with the following `docker-compose.yml` file. @@ -54,6 +54,9 @@ This section assumes that you are in one of the following system environments: If you are in a system environment that Graal compiler does not support, such as Linux (riscv64), please enable LLVM backend according to the content of https://medium.com/graalvm/graalvm-native-image-meets-risc-v-899be38eddd9 to use the LLVM compiler. +Users must build the different GraalVM Native Image for each target operating system and target architecture that they need to run the GraalVM Native Image on. +Users can consider partially circumventing this limitation by using Docker Image. + This section is still limited by the documented content of the [GraalVM Native Image](/us/user-manual/shardingsphere-jdbc/graalvm-native-image) on the ShardingSphere JDBC side. ## Premise @@ -116,18 +119,24 @@ cd ./shardingsphere/ The third parameter is the host to listen to. If it is `0.0.0.0`, any database client is allowed to access ShardingSphere Proxy Native. The fourth parameter is Force Start. If it is `true`, it ensures that ShardingSphere Proxy Native can start normally regardless of whether it can be connected. -Assuming the folder `./custom/conf` already exists, the example is. +Only command line parameters can be set for binaries of built GraalVM Native Images. This means that: + +(1) Users can only set JVM parameters during the process of building a GraalVM Native Image +(2) Users cannot set JVM parameters for binaries of built GraalVM Native Images + +Assuming the folder `/customAbsolutePath/conf` already exists, the example is. ```bash cd ./shardingsphere/ cd ./distribution/proxy-native/target/apache-shardingsphere-5.5.1-SNAPSHOT-shardingsphere-proxy-native-bin/ -./proxy-native "3307" "./custom/conf" "0.0.0.0" "false" +./proxy-native "3307" "/customAbsolutePath/conf" "0.0.0.0" "false" ``` 4. If you need to build a Docker Image, after adding the dependencies that have SPI implementation or third-party dependencies, execute the following command in the command line: ```shell +cd ./shardingsphere/ ./mvnw -am -pl distribution/proxy-native -T1C -Prelease.native,docker.native -DskipTests clean package ``` @@ -144,25 +153,34 @@ services: - "3307:3307" ``` -If you do not make any changes to the Git Source, -the commands mentioned above will use `oraclelinux:9-slim` as the Base Docker Image. -But if you want to use a smaller Docker Image such as `busybox:glic`, -`gcr.io/distroless/base` or `scratch` as the Base Docker Image, -you need to follow the requirements of https://www.graalvm.org/jdk23/reference-manual/native-image/guides/build-static-executables/ and add `-H:+StaticExecutableWithDynamicLibC` to the `jvmArgs` of the `native profile` in `pom.xml`. -Also note that some third-party dependencies will require more system libraries to be installed in the `Dockerfile`, such as `libdl`. -So make sure to adjust the contents of `pom.xml` and `Dockerfile` under `distribution/proxy-native` according to your usage. +If the user does not make any changes to the Git Source, the command mentioned above will use `oraclelinux:9-slim` as the Base Docker Image. +But if the user wants to use a smaller Docker Image such as `scratch`, `alpine:3`, `gcr.io/distroless/base-debian12`, +`gcr.io/distroless/java-base-debian12` or `gcr.io/distroless/static-debian12` as the Base Docker Image, +the user may need to add `--static`, +`--libc=musl` or `--static-nolibc` to the `Maven Profile` of `pom.xml` as required by https://www.graalvm.org/jdk23/reference-manual/native-image/guides/build-static-executables/ and other operations such as `buildArgs`. + +Building a statically linked GraalVM Native Image requires more system dependencies, +and currently does not support building statically linked GraalVM Native Images for environments such as Linux (aarch64). +Fully statically linked GraalVM Native Images use musl libc. +Most Linux systems come with outdated musl, such as Ubuntu 22.04.5 LTS which uses [musl (1.2.2-4) unstable](https://packages.ubuntu.com/jammy/musl). +Users always need to build and install a new version of musl from source. + +Also note that some third-party Maven dependencies will require more system libraries to be installed in the `Dockerfile`, +so make sure to adjust the contents of `pom.xml` and `Dockerfile` under `distribution/proxy-native` according to your usage. ## Observability The observability provided by ShardingSphere Proxy in the form of GraalVM Native Image is not consistent with [observability](/cn/user-manual/shardingsphere-proxy/observability). Users can use a series of command-line tools or visualization tools provided by https://www.graalvm.org/jdk23/tools/ to observe the internal behavior of GraalVM Native Image, -and use VSCode to complete debugging work according to their requirements. -If users are using IntelliJ IDEA and want to debug the generated GraalVM Native Image, -users can follow https://blog.jetbrains.com/idea/2022/06/intellij-idea-2022-2-eap-5/#Experimental_GraalVM_Native_Debugger_for_Java and its successors. -If users are not using Linux, they cannot debug GraalVM Native Image. Please follow https://github.com/oracle/graal/issues/5648 which has not been closed. +and use VSCode under Linux to complete debugging work according to their requirements. +If the user is using IntelliJ IDEA and wants to debug the generated GraalVM Native Image, +the user can follow https://blog.jetbrains.com/idea/2022/06/intellij-idea-2022-2-eap-5/#Experimental_GraalVM_Native_Debugger_for_Java and its successors. + +If the user is not using Linux, the GraalVM Native Image cannot be debugged. +Please follow https://github.com/oracle/graal/issues/5648 which has not been closed. For Java Agents such as `ShardingSphere Agent`, the `native-image` component of GraalVM does not fully support the use of javaagent when building Native Image. -Users need to pay attention to https://github.com/oracle/graal/issues/1065 which has not been closed. +Users need to pay attention to https://github.com/oracle/graal/issues/8177 which has not been closed. If users expect to use such Java Agents under ShardingSphere Proxy Native, they need to pay attention to the changes involved in https://github.com/oracle/graal/pull/8077 . diff --git a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json index df90d20ca2f26..c624ab2737b68 100644 --- a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json +++ b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/reflect-config.json @@ -71,6 +71,14 @@ "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, "name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;" }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.ShardingSphereProxy$$Lambda/0x00007f2a8b5b2368"}, + "name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;" +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.command.query.extended.Portal"}, + "name":"[Lcom.zaxxer.hikari.util.ConcurrentBag$IConcurrentBagEntry;" +}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource"}, "name":"[Ljava.lang.String;" @@ -107,7 +115,7 @@ "name":"org.apache.shardingsphere.authority.checker.AuthoritySQLExecutionChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.authority.distsql.parser.facade.AuthorityDistSQLParserFacade" }, { @@ -167,11 +175,11 @@ "name":"org.apache.shardingsphere.authority.yaml.config.YamlUserConfigurationCustomizer" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.broadcast.distsql.handler.update.CreateBroadcastTableRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.broadcast.distsql.handler.update.DropBroadcastTableRuleExecutor" }, { @@ -190,11 +198,11 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.broadcast.distsql.parser.facade.BroadcastDistSQLParserFacade" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.broadcast.metadata.nodepath.BroadcastRuleNodePathProvider" }, { @@ -202,11 +210,11 @@ "name":"org.apache.shardingsphere.broadcast.route.BroadcastSQLRouter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.broadcast.rule.builder.BroadcastRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.broadcast.rule.changed.BroadcastTableChangedProcessor" }, { @@ -243,7 +251,7 @@ "name":"org.apache.shardingsphere.data.pipeline.cdc.api.CDCJobAPI" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.data.pipeline.cdc.distsql.parser.facade.CDCDistSQLParserFacade" }, { @@ -251,59 +259,59 @@ "name":"org.apache.shardingsphere.data.pipeline.core.listener.PipelineContextManagerLifecycleListener" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.cdc.update.DropStreamingExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.CheckMigrationJobExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.CommitMigrationExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.DropMigrationCheckExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.MigrateTableExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.RegisterMigrationSourceStorageUnitExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.RollbackMigrationExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.StartMigrationCheckExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.StartMigrationExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.StopMigrationCheckExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.StopMigrationExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.migration.update.UnregisterMigrationSourceStorageUnitExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.data.pipeline.distsql.handler.transmission.update.AlterTransmissionRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.data.pipeline.migration.distsql.parser.facade.MigrationDistSQLParserFacade" }, { @@ -342,15 +350,15 @@ "name":"org.apache.shardingsphere.db.protocol.postgresql.constant.PostgreSQLProtocolDefaultVersionProvider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.distsql.handler.executor.rdl.resource.AlterStorageUnitExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.distsql.handler.executor.rdl.resource.RegisterStorageUnitExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.distsql.handler.executor.rdl.resource.UnregisterStorageUnitExecutor" }, { @@ -418,25 +426,30 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.spi.type.ordered.OrderedSPILoader"}, "name":"org.apache.shardingsphere.encrypt.checker.config.EncryptRuleConfigurationChecker" }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, + "name":"org.apache.shardingsphere.encrypt.checker.sql.EncryptSupportedSQLCheckersBuilder", + "methods":[{"name":"","parameterTypes":[] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, "name":"org.apache.shardingsphere.encrypt.checker.sql.EncryptSupportedSQLCheckersBuilder", "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.distsql.handler.update.AlterEncryptRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.distsql.handler.update.CreateEncryptRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.distsql.handler.update.DropEncryptRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.encrypt.distsql.parser.facade.EncryptDistSQLParserFacade" }, { @@ -444,11 +457,11 @@ "name":"org.apache.shardingsphere.encrypt.merge.EncryptResultDecoratorEngine" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.metadata.nodepath.EncryptRuleNodePathProvider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.metadata.reviser.EncryptMetaDataReviseEntry" }, { @@ -456,15 +469,15 @@ "name":"org.apache.shardingsphere.encrypt.rewrite.context.EncryptSQLRewriteContextDecorator" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.rule.builder.EncryptRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.rule.changed.EncryptTableChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.encrypt.rule.changed.EncryptorChangedProcessor" }, { @@ -543,7 +556,7 @@ "name":"org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfigurationCustomizer" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.globalclock.distsql.parser.facade.GlobalClockDistSQLParserFacade" }, { @@ -686,7 +699,7 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.clickhouse.connector.ClickHouseConnectionPropertiesParser" }, { @@ -702,7 +715,7 @@ "name":"org.apache.shardingsphere.infra.database.h2.checker.H2DatabasePrivilegeChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.h2.connector.H2ConnectionPropertiesParser" }, { @@ -722,7 +735,7 @@ "name":"org.apache.shardingsphere.infra.database.h2.type.H2DatabaseType" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.hive.connector.HiveConnectionPropertiesParser" }, { @@ -746,7 +759,7 @@ "name":"org.apache.shardingsphere.infra.database.mysql.checker.MySQLDatabasePrivilegeChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.mysql.connector.MySQLConnectionPropertiesParser" }, { @@ -774,7 +787,7 @@ "name":"org.apache.shardingsphere.infra.database.opengauss.checker.OpenGaussDatabasePrivilegeChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.opengauss.connector.OpenGaussConnectionPropertiesParser" }, { @@ -794,7 +807,7 @@ "name":"org.apache.shardingsphere.infra.database.opengauss.type.OpenGaussDatabaseType" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.oracle.connector.OracleConnectionPropertiesParser" }, { @@ -818,7 +831,7 @@ "name":"org.apache.shardingsphere.infra.database.postgresql.checker.PostgreSQLDatabasePrivilegeChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.postgresql.connector.PostgreSQLConnectionPropertiesParser" }, { @@ -838,7 +851,7 @@ "name":"org.apache.shardingsphere.infra.database.postgresql.type.PostgreSQLDatabaseType" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.sql92.connector.SQL92ConnectionPropertiesParser" }, { @@ -850,7 +863,7 @@ "name":"org.apache.shardingsphere.infra.database.sql92.type.SQL92DatabaseType" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.database.sqlserver.connector.SQLServerConnectionPropertiesParser" }, { @@ -982,12 +995,12 @@ "queryAllPublicMethods":true }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.mode.persist.service.ComputeNodePersistService"}, "name":"org.apache.shardingsphere.infra.util.yaml.YamlConfiguration", "queryAllPublicMethods":true }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.persist.service.ComputeNodePersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.infra.util.yaml.YamlConfiguration", "queryAllPublicMethods":true }, @@ -1057,17 +1070,17 @@ "allDeclaredFields":true, "methods":[{"name":"","parameterTypes":[] }, {"name":"getRows","parameterTypes":[] }, {"name":"getUniqueKey","parameterTypes":[] }, {"name":"setRows","parameterTypes":["java.util.List"] }, {"name":"setUniqueKey","parameterTypes":["java.lang.String"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, - "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumn", - "methods":[{"name":"setNullable","parameterTypes":["boolean"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.builder.SystemSchemaBuilder"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumn", "allDeclaredFields":true, "methods":[{"name":"","parameterTypes":[] }, {"name":"setCaseSensitive","parameterTypes":["boolean"] }, {"name":"setDataType","parameterTypes":["int"] }, {"name":"setGenerated","parameterTypes":["boolean"] }, {"name":"setName","parameterTypes":["java.lang.String"] }, {"name":"setPrimaryKey","parameterTypes":["boolean"] }, {"name":"setUnsigned","parameterTypes":["boolean"] }, {"name":"setVisible","parameterTypes":["boolean"] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, + "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumn", + "methods":[{"name":"setNullable","parameterTypes":["boolean"] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.metadata.persist.service.metadata.table.TableMetaDataPersistService"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumn", @@ -1087,17 +1100,17 @@ "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereColumnCustomizer" }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, - "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndex", - "methods":[{"name":"setColumns","parameterTypes":["java.util.Collection"] }, {"name":"setUnique","parameterTypes":["boolean"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.builder.SystemSchemaBuilder"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndex", "allDeclaredFields":true, "methods":[{"name":"","parameterTypes":[] }, {"name":"setName","parameterTypes":["java.lang.String"] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, + "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndex", + "methods":[{"name":"setColumns","parameterTypes":["java.util.Collection"] }, {"name":"setUnique","parameterTypes":["boolean"] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.metadata.persist.service.metadata.table.TableMetaDataPersistService"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndex", @@ -1117,17 +1130,17 @@ "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereIndexCustomizer" }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, - "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable", - "methods":[{"name":"setType","parameterTypes":["org.apache.shardingsphere.infra.database.core.metadata.database.enums.TableType"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.builder.SystemSchemaBuilder"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable", "allDeclaredFields":true, "methods":[{"name":"","parameterTypes":[] }, {"name":"setColumns","parameterTypes":["java.util.Map"] }, {"name":"setIndexes","parameterTypes":["java.util.Map"] }, {"name":"setName","parameterTypes":["java.lang.String"] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, + "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable", + "methods":[{"name":"setType","parameterTypes":["org.apache.shardingsphere.infra.database.core.metadata.database.enums.TableType"] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.metadata.persist.service.metadata.table.TableMetaDataPersistService"}, "name":"org.apache.shardingsphere.infra.yaml.schema.pojo.YamlShardingSphereTable", @@ -1267,19 +1280,19 @@ "name":"org.apache.shardingsphere.mask.checker.MaskRuleConfigurationChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.distsql.handler.update.AlterMaskRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.distsql.handler.update.CreateMaskRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.distsql.handler.update.DropMaskRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.mask.distsql.parser.facade.MaskDistSQLParserFacade" }, { @@ -1287,19 +1300,19 @@ "name":"org.apache.shardingsphere.mask.merge.MaskResultDecoratorEngine" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.metadata.nodepath.MaskRuleNodePathProvider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.rule.builder.MaskRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.rule.changed.MaskAlgorithmChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mask.rule.changed.MaskTableChangedProcessor" }, { @@ -1403,7 +1416,7 @@ "queryAllDeclaredMethods":true }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.listener.DatabaseMetaDataChangedListener$$Lambda/0x00007f535f9cb118"}, + "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.cluster.listener.DatabaseMetaDataChangedListener$$Lambda/0x00007f2a8bb1d230"}, "name":"org.apache.shardingsphere.mode.manager.cluster.event.subscriber.dispatch.MetaDataChangedSubscriber" }, { @@ -1459,55 +1472,55 @@ "name":"org.apache.shardingsphere.mode.manager.standalone.yaml.StandaloneYamlPersistRepositoryConfigurationSwapper" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.index.AlterIndexStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.index.CreateIndexStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.index.DropIndexStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.schema.AlterSchemaStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.schema.CreateSchemaStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.schema.DropSchemaStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.table.AlterTableStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.table.CreateTableStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.table.DropTableStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.table.RenameTableStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.view.AlterViewStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.view.CreateViewStatementSchemaRefresher" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.mode.metadata.refresher.type.view.DropViewStatementSchemaRefresher" }, { @@ -1550,7 +1563,7 @@ "queryAllDeclaredConstructors":true }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.parser.distsql.parser.facade.SQLParserDistSQLParserFacade" }, { @@ -1616,43 +1629,43 @@ "name":"org.apache.shardingsphere.proxy.backend.handler.checker.AuditSQLExecutionChecker" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.ImportDatabaseConfigurationExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.ImportMetaDataExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.LabelComputeNodeExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.LockClusterExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.RefreshDatabaseMetaDataExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.RefreshTableMetaDataExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.SetComputeNodeStateExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.SetDistVariableExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.UnlabelComputeNodeExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.handler.distsql.ral.updatable.UnlockClusterExecutor" }, { @@ -1660,7 +1673,7 @@ "name":"org.apache.shardingsphere.proxy.backend.mysql.connector.jdbc.statement.MySQLStatementMemoryStrictlyFetchSizeSetter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.DatabaseAdminBackendHandlerFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.proxy.backend.mysql.handler.admin.MySQLAdminExecutorCreator" }, { @@ -1680,9 +1693,13 @@ "name":"org.apache.shardingsphere.proxy.backend.opengauss.connector.jdbc.statement.OpenGaussStatementMemoryStrictlyFetchSizeSetter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.DatabaseAdminBackendHandlerFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.proxy.backend.opengauss.handler.admin.OpenGaussAdminExecutorCreator" }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, + "name":"org.apache.shardingsphere.proxy.backend.opengauss.handler.transaction.OpenGaussTransactionalErrorAllowedSQLStatementHandler" +}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderEngine"}, "name":"org.apache.shardingsphere.proxy.backend.opengauss.response.header.query.OpenGaussQueryHeaderBuilder" @@ -1692,13 +1709,17 @@ "name":"org.apache.shardingsphere.proxy.backend.postgresql.connector.jdbc.statement.PostgreSQLStatementMemoryStrictlyFetchSizeSetter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.DatabaseAdminBackendHandlerFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.proxy.backend.postgresql.handler.admin.PostgreSQLAdminExecutorCreator" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.executor.variable.charset.CharsetSetExecutor"}, "name":"org.apache.shardingsphere.proxy.backend.postgresql.handler.admin.executor.variable.charset.PostgreSQLSetCharsetExecutor" }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, + "name":"org.apache.shardingsphere.proxy.backend.postgresql.handler.transaction.PostgreSQLTransactionalErrorAllowedSQLStatementHandler" +}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderEngine"}, "name":"org.apache.shardingsphere.proxy.backend.postgresql.response.header.query.PostgreSQLQueryHeaderBuilder" @@ -1709,7 +1730,7 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.authentication.AuthenticatorFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.authentication.MySQLAuthenticationEngine"}, "name":"org.apache.shardingsphere.proxy.frontend.mysql.authentication.authenticator.impl.MySQLNativePasswordAuthenticator", "methods":[{"name":"","parameterTypes":[] }] }, @@ -1733,6 +1754,11 @@ "name":"org.apache.shardingsphere.proxy.frontend.postgresql.PostgreSQLFrontendEngine", "methods":[{"name":"","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.authentication.PostgreSQLAuthenticationEngine"}, + "name":"org.apache.shardingsphere.proxy.frontend.postgresql.authentication.authenticator.impl.PostgreSQLMD5PasswordAuthenticator", + "methods":[{"name":"","parameterTypes":[] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.spi.type.ordered.OrderedSPILoader"}, "name":"org.apache.shardingsphere.readwritesplitting.checker.ReadwriteSplittingRuleConfigurationChecker" @@ -1742,27 +1768,27 @@ "name":"org.apache.shardingsphere.readwritesplitting.datanode.ReadwriteSplittingDataNodeBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.distsql.handler.update.AlterReadwriteSplittingRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.distsql.handler.update.AlterReadwriteSplittingStorageUnitStatusExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.distsql.handler.update.CreateReadwriteSplittingRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.distsql.handler.update.DropReadwriteSplittingRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.readwritesplitting.distsql.parser.facade.ReadwriteSplittingDistSQLParserFacade" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.metadata.nodepath.ReadwriteSplittingRuleNodePathProvider" }, { @@ -1774,15 +1800,15 @@ "name":"org.apache.shardingsphere.readwritesplitting.route.standard.filter.DisabledReadDataSourcesFilter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.rule.builder.ReadwriteSplittingRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.rule.changed.ReadwriteSplittingDataSourceChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.readwritesplitting.rule.changed.ReadwriteSplittingLoadBalancerChangedProcessor" }, { @@ -1873,39 +1899,39 @@ "name":"org.apache.shardingsphere.shadow.datanode.ShadowDataNodeBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.AlterDefaultShadowAlgorithmExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.AlterShadowRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.CreateDefaultShadowAlgorithmExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.CreateShadowRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.DropDefaultShadowAlgorithmExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowAlgorithmExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.distsql.handler.update.DropShadowRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.shadow.distsql.parser.facade.ShadowDistSQLParserFacade" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.metadata.nodepath.ShadowRuleNodePathProvider" }, { @@ -1913,23 +1939,23 @@ "name":"org.apache.shardingsphere.shadow.route.ShadowSQLRouter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.rule.builder.ShadowRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.rule.changed.DefaultShadowAlgorithmNameChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.rule.changed.ShadowAlgorithmChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.rule.changed.ShadowDataSourceChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.shadow.rule.changed.ShadowTableChangedProcessor" }, { @@ -2116,51 +2142,51 @@ "name":"org.apache.shardingsphere.sharding.decider.ShardingSQLFederationDecider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.AlterDefaultShardingStrategyExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableReferenceRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.AlterShardingTableRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.CreateDefaultShardingStrategyExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableReferenceRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.CreateShardingTableRuleExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropDefaultShardingStrategyExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAlgorithmExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingAuditorExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingKeyGeneratorExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableReferenceExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.distsql.handler.update.DropShardingTableRuleExecutor" }, { @@ -2179,7 +2205,7 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sharding.distsql.parser.facade.ShardingDistSQLParserFacade" }, { @@ -2187,11 +2213,11 @@ "name":"org.apache.shardingsphere.sharding.merge.ShardingResultMergerEngine" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.metadata.nodepath.ShardingRuleNodePathProvider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.metadata.reviser.ShardingMetaDataReviseEntry" }, { @@ -2203,55 +2229,55 @@ "name":"org.apache.shardingsphere.sharding.route.engine.ShardingSQLRouter" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.builder.ShardingRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.DefaultDatabaseShardingStrategyChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.DefaultKeyGenerateStrategyChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.DefaultShardingAuditorStrategyChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.DefaultShardingColumnChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.DefaultTableShardingStrategyChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.KeyGeneratorChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingAlgorithmChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingAuditorChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingAutoTableChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingCacheChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingTableChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.rule.changed.ShardingTableReferenceChangedProcessor" }, { @@ -2299,9 +2325,13 @@ "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, "name":"org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration", "allDeclaredFields":true, - "queryAllPublicMethods":true, "methods":[{"name":"getActualDataNodes","parameterTypes":[] }, {"name":"getAuditStrategy","parameterTypes":[] }, {"name":"getDatabaseStrategy","parameterTypes":[] }, {"name":"getKeyGenerateStrategy","parameterTypes":[] }, {"name":"getLogicTable","parameterTypes":[] }, {"name":"getTableStrategy","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, + "name":"org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration", + "queryAllPublicMethods":true +}, { "condition":{"typeReachable":"org.apache.shardingsphere.sharding.rule.changed.ShardingTableChangedProcessor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration", @@ -2309,11 +2339,11 @@ "methods":[{"name":"","parameterTypes":[] }, {"name":"setActualDataNodes","parameterTypes":["java.lang.String"] }, {"name":"setKeyGenerateStrategy","parameterTypes":["org.apache.shardingsphere.sharding.yaml.config.strategy.keygen.YamlKeyGenerateStrategyConfiguration"] }, {"name":"setLogicTable","parameterTypes":["java.lang.String"] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfigurationBeanInfo" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfigurationCustomizer" }, { @@ -2344,9 +2374,13 @@ "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, "name":"org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration", "allDeclaredFields":true, - "queryAllPublicMethods":true, "methods":[{"name":"getComplex","parameterTypes":[] }, {"name":"getHint","parameterTypes":[] }, {"name":"getNone","parameterTypes":[] }, {"name":"getStandard","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, + "name":"org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration", + "queryAllPublicMethods":true +}, { "condition":{"typeReachable":"org.apache.shardingsphere.sharding.rule.changed.DefaultDatabaseShardingStrategyChangedProcessor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration", @@ -2354,11 +2388,11 @@ "methods":[{"name":"","parameterTypes":[] }, {"name":"setStandard","parameterTypes":["org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfigurationBeanInfo" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfigurationCustomizer" }, { @@ -2386,27 +2420,27 @@ "name":"org.apache.shardingsphere.single.decorator.SingleRuleConfigurationDecorator" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.distsql.handler.update.LoadSingleTableExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.distsql.handler.update.SetDefaultSingleTableStorageUnitExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.distsql.handler.update.UnloadSingleTableExecutor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.single.distsql.parser.facade.SingleDistSQLParserFacade" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.metadata.nodepath.SingleRuleNodePathProvider" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.metadata.reviser.SingleMetaDataReviseEntry" }, { @@ -2418,15 +2452,15 @@ "name":"org.apache.shardingsphere.single.rule.builder.DefaultSingleRuleConfigurationBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.rule.builder.SingleRuleBuilder" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.rule.changed.DefaultDataSourceChangedProcessor" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "name":"org.apache.shardingsphere.single.rule.changed.SingleTableChangedProcessor" }, { @@ -2443,16 +2477,6 @@ "name":"org.apache.shardingsphere.single.yaml.config.YamlSingleRuleConfiguration", "allDeclaredFields":true }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseLexer", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] -}, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseParser", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseParserFacade" @@ -2462,11 +2486,6 @@ "name":"org.apache.shardingsphere.sql.parser.clickhouse.visitor.statement.ClickHouseStatementVisitorFacade", "methods":[{"name":"","parameterTypes":[] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.clickhouse.visitor.statement.type.ClickHouseDMLStatementVisitor", - "methods":[{"name":"","parameterTypes":[] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.core.database.cache.ParseTreeCacheBuilder"}, "name":"org.apache.shardingsphere.sql.parser.core.database.cache.ParseTreeCacheLoader" @@ -2481,12 +2500,22 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, + "name":"org.apache.shardingsphere.sql.parser.mysql.parser.MySQLLexer", + "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.mysql.parser.MySQLLexer", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, + "name":"org.apache.shardingsphere.sql.parser.mysql.parser.MySQLParser", + "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.mysql.parser.MySQLParser", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] }, @@ -2515,22 +2544,22 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.core.database.visitor.SQLStatementVisitorFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, "name":"org.apache.shardingsphere.sql.parser.mysql.visitor.statement.type.MySQLDMLStatementVisitor", "methods":[{"name":"","parameterTypes":[] }] }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, - "name":"org.apache.shardingsphere.sql.parser.mysql.visitor.statement.type.MySQLTCLStatementVisitor", + "name":"org.apache.shardingsphere.sql.parser.mysql.visitor.statement.type.MySQLDMLStatementVisitor", "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, - "name":"org.apache.shardingsphere.sql.parser.opengauss.parser.OpenGaussLexer", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, + "name":"org.apache.shardingsphere.sql.parser.mysql.visitor.statement.type.MySQLTCLStatementVisitor", + "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, "name":"org.apache.shardingsphere.sql.parser.opengauss.parser.OpenGaussLexer", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] }, @@ -2539,11 +2568,6 @@ "name":"org.apache.shardingsphere.sql.parser.opengauss.parser.OpenGaussParser", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.opengauss.parser.OpenGaussParser", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.opengauss.parser.OpenGaussParserFacade" @@ -2563,11 +2587,6 @@ "name":"org.apache.shardingsphere.sql.parser.opengauss.visitor.statement.type.OpenGaussDMLStatementVisitor", "methods":[{"name":"","parameterTypes":[] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.opengauss.visitor.statement.type.OpenGaussDMLStatementVisitor", - "methods":[{"name":"","parameterTypes":[] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.oracle.parser.OracleParserFacade" @@ -2582,21 +2601,11 @@ "name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLLexer", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLLexer", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, "name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLParser", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLParser", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.postgresql.parser.PostgreSQLParserFacade" @@ -2616,11 +2625,6 @@ "name":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLDMLStatementVisitor", "methods":[{"name":"","parameterTypes":[] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLDMLStatementVisitor", - "methods":[{"name":"","parameterTypes":[] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.sql92.parser.SQL92ParserFacade" @@ -2635,21 +2639,11 @@ "name":"org.apache.shardingsphere.sql.parser.sqlserver.parser.SQLServerLexer", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.sqlserver.parser.SQLServerLexer", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, "name":"org.apache.shardingsphere.sql.parser.sqlserver.parser.SQLServerParser", "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.sqlserver.parser.SQLServerParser", - "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sql.parser.sqlserver.parser.SQLServerParserFacade" @@ -2669,11 +2663,6 @@ "name":"org.apache.shardingsphere.sql.parser.sqlserver.visitor.statement.type.SQLServerDMLStatementVisitor", "methods":[{"name":"","parameterTypes":[] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.parser.cache.SQLStatementCacheLoader"}, - "name":"org.apache.shardingsphere.sql.parser.sqlserver.visitor.statement.type.SQLServerDMLStatementVisitor", - "methods":[{"name":"","parameterTypes":[] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, "name":"org.apache.shardingsphere.sql.parser.statement.clickhouse.dml.ClickHouseInsertStatement", @@ -2690,17 +2679,32 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.DeleteStatementBinder"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLDeleteStatement", "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.InsertStatementBinder"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, + "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLInsertStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLInsertStatement", "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.SelectStatementBinder"}, + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, + "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLSelectStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, + "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLSelectStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "name":"org.apache.shardingsphere.sql.parser.statement.mysql.dml.MySQLSelectStatement", "methods":[{"name":"","parameterTypes":[] }] }, @@ -2719,11 +2723,21 @@ "name":"org.apache.shardingsphere.sql.parser.statement.opengauss.dml.OpenGaussSelectStatement", "methods":[{"name":"","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.command.query.extended.parse.PostgreSQLComParseExecutor"}, + "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLDeleteStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLInsertStatement", "methods":[{"name":"","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.command.query.extended.parse.PostgreSQLComParseExecutor"}, + "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLInsertStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLSelectStatement", @@ -2734,6 +2748,11 @@ "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLSelectStatement", "methods":[{"name":"","parameterTypes":[] }] }, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.postgresql.command.query.extended.parse.PostgreSQLComParseExecutor"}, + "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLSelectStatement", + "methods":[{"name":"","parameterTypes":[] }] +}, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, "name":"org.apache.shardingsphere.sql.parser.statement.sqlserver.dml.SQLServerInsertStatement", @@ -2750,7 +2769,7 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sqlfederation.distsql.parser.facade.SQLFederationDistSQLParserFacade" }, { @@ -2813,7 +2832,7 @@ "name":"org.apache.shardingsphere.sqlfederation.yaml.config.YamlSQLFederationRuleConfigurationCustomizer" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.sqltranslator.distsql.parser.facade.SQLTranslatorDistSQLParserFacade" }, { @@ -2875,7 +2894,7 @@ "methods":[{"name":"","parameterTypes":[] }] }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "name":"org.apache.shardingsphere.transaction.distsql.parser.facade.TransactionDistSQLParserFacade" }, { diff --git a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/resource-config.json b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/resource-config.json index 732f37723a1e3..e818151d69d59 100644 --- a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/resource-config.json +++ b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/generated-reachability-metadata/resource-config.json @@ -117,6 +117,9 @@ }, { "condition":{"typeReachable":"org.apache.shardingsphere.db.protocol.mysql.constant.MySQLCharacterSet"}, "pattern":"\\QMETA-INF/services/java.nio.charset.spi.CharsetProvider\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.postgresql.handler.admin.executor.variable.charset.PostgreSQLCharacterSets"}, + "pattern":"\\QMETA-INF/services/java.nio.charset.spi.CharsetProvider\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, "pattern":"\\QMETA-INF/services/java.time.zone.ZoneRulesProvider\\E" @@ -172,28 +175,28 @@ "condition":{"typeReachable":"org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolServerInfo"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.db.protocol.constant.DatabaseProtocolDefaultVersionProvider\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.distsql.handler.engine.update.AdvancedDistSQLUpdateExecutor\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecutor\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.handler.engine.update.DistSQLUpdateExecuteEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.distsql.handler.engine.update.rdl.rule.spi.database.DatabaseRuleDefinitionExecutor\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.distsql.parser.core.featured.DistSQLParserEngine"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxySQLComQueryParser"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.distsql.parser.engine.spi.DistSQLParserFacade\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSphereStatement"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.driver.executor.engine.facade.DriverExecutorFacadeFactory\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.algorithm.keygen.core.KeyGenerateAlgorithm\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.context.segment.select.projection.impl.ColumnProjection"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.binder.context.segment.select.projection.extractor.DialectProjectionIdentifierExtractor\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.checker.SupportedSQLCheckersBuilder\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.spi.type.ordered.OrderedSPILoader"}, @@ -205,7 +208,7 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.database.core.checker.DialectDatabasePrivilegeChecker\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.datasource.pool.props.validator.DataSourcePoolPropertiesValidator"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.database.core.connector.ConnectionPropertiesParser\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.statement.ShardingSpherePreparedStatement"}, @@ -249,9 +252,6 @@ }, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.executor.sql.prepare.driver.DriverExecutionPrepareEngine"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.executor.sql.prepare.driver.SQLExecutionUnitBuilder\\E" - }, { - "condition":{"typeReachable":"org.apache.shardingsphere.sharding.distsql.handler.checker.ShardingTableRuleStatementChecker"}, - "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.expr.spi.InlineExpressionParser\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.instance.metadata.InstanceMetaDataBuilder\\E" @@ -259,7 +259,7 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.merge.MergeEngine"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.merge.engine.ResultProcessEngine\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.metadata.database.schema.reviser.MetaDataReviseEntry\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, @@ -271,7 +271,7 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.route.engine.impl.PartialSQLRouteExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.route.SQLRouter\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.infra.rule.builder.database.DatabaseRuleBuilder\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.rule.builder.database.DatabaseRulesBuilder"}, @@ -304,7 +304,7 @@ "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.mode.manager.listener.ContextManagerLifecycleListener\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.mode.metadata.refresher.MetaDataRefresher\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.initializer.BootstrapInitializer"}, @@ -319,19 +319,19 @@ "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.decorator.RuleConfigurationPersistDecorateEngine"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.mode.spi.RuleConfigurationPersistDecorator\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.metadata.manager.RuleItemManager"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.mode.spi.RuleItemConfigurationChangedProcessor\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.mode.manager.standalone.persist.StandaloneMetaDataManagerPersistService"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.mode.spi.RuleNodePathProvider\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.DatabaseConnector"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.connector.AdvancedProxySQLExecutor\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.connector.jdbc.statement.JDBCBackendStatement"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.connector.jdbc.statement.StatementMemoryStrictlyFetchSizeSetter\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.DatabaseAdminBackendHandlerFactory"}, + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.handler.admin.executor.DatabaseAdminExecutorCreator\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.executor.variable.charset.CharsetSetExecutor"}, @@ -339,6 +339,9 @@ }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.admin.executor.variable.session.SessionVariableRecordExecutor"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.handler.admin.executor.variable.session.ReplayedSessionVariableProvider\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.handler.ProxyBackendHandlerFactory"}, + "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.handler.transaction.TransactionalErrorAllowedSQLStatementHandler\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilderEngine"}, "pattern":"\\QMETA-INF/services/org.apache.shardingsphere.proxy.backend.response.header.query.QueryHeaderBuilder\\E" @@ -427,911 +430,1520 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, "pattern":"\\Qschema/common/shardingsphere/sharding_table_statistics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/administrable_role_authorizations.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/applicable_roles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/character_sets.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/check_constraints.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/collation_character_set_applicability.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/collations.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/column_privileges.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/column_statistics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/columns.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/columns_extensions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/enabled_roles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/engines.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/events.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/files.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/global_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/global_variables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_buffer_page.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_buffer_page_lru.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_buffer_pool_stats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cached_indexes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmp.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmp_per_index.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmp_per_index_reset.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmp_reset.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmpmem.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_cmpmem_reset.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_columns.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_datafiles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_fields.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_foreign.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_foreign_cols.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_being_deleted.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_config.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_default_stopword.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_deleted.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_index_cache.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_ft_index_table.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_indexes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_lock_waits.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_locks.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_metrics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_session_temp_tablespaces.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_columns.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_datafiles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_fields.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_foreign.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_foreign_cols.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_indexes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_tables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_tablespaces.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_tablestats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_sys_virtual.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_tables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_tablespaces.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_tablespaces_brief.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_tablestats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_temp_table_info.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_trx.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/innodb_virtual.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/key_column_usage.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/keywords.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/optimizer_trace.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/parameters.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/partitions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/plugins.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/processlist.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/profiling.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/referential_constraints.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/resource_groups.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/role_column_grants.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/role_routine_grants.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/role_table_grants.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/routines.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/schema_privileges.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/schemata.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/schemata_extensions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/session_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/session_variables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/st_geometry_columns.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/st_spatial_reference_systems.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/st_units_of_measure.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/statistics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/table_constraints.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/table_constraints_extensions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/table_privileges.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/tables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/tables_extensions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/tablespaces.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/tablespaces_extensions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/triggers.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/user_attributes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/user_privileges.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/view_routine_usage.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/view_table_usage.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/information_schema/views.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/columns_priv.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/component.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/db.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/default_roles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/engine_cost.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/event.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/func.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/general_log.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/global_grants.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/gtid_executed.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/help_category.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/help_keyword.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/help_relation.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/help_topic.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/innodb_index_stats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/innodb_table_stats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/ndb_binlog_index.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/password_history.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/plugin.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/proc.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/procs_priv.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/proxies_priv.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/replication_asynchronous_connection_failover.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/replication_asynchronous_connection_failover_managed.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/replication_group_configuration_version.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/replication_group_member_actions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/role_edges.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/server_cost.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/servers.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/slave_master_info.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/slave_relay_log_info.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/slave_worker_info.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/slow_log.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/tables_priv.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/time_zone.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/time_zone_leap_second.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/time_zone_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/time_zone_transition.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/time_zone_transition_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/mysql/user.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/accounts.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/binary_log_transaction_compression_stats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/cond_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/data_lock_waits.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/data_locks.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/error_log.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_errors_summary_by_account_by_error.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_errors_summary_by_host_by_error.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_errors_summary_by_thread_by_error.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_errors_summary_by_user_by_error.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_errors_summary_global_by_error.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_current.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_history.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_history_long.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_summary_by_account_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_summary_by_host_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_summary_by_thread_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_summary_by_user_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_stages_summary_global_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_current.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_histogram_by_digest.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_histogram_global.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_history.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_history_long.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_account_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_digest.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_host_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_program.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_thread_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_by_user_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_statements_summary_global_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_current.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_history.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_history_long.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_summary_by_account_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_summary_by_host_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_summary_by_thread_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_summary_by_user_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_transactions_summary_global_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_current.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_history.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_history_long.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_by_account_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_by_host_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_by_instance.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_by_thread_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_by_user_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/events_waits_summary_global_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/file_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/file_summary_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/file_summary_by_instance.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/global_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/global_variables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/host_cache.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/hosts.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/innodb_redo_log_files.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/keyring_component_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/keyring_keys.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/log_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/memory_summary_by_account_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/memory_summary_by_host_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/memory_summary_by_thread_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/memory_summary_by_user_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/memory_summary_global_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/metadata_locks.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/mutex_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/objects_summary_global_by_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/performance_timers.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/persisted_variables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/prepared_statements_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/processlist.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_configuration.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_filters.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_global_filters.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_status_by_coordinator.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_applier_status_by_worker.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_asynchronous_connection_failover.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_asynchronous_connection_failover_managed.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_connection_configuration.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_connection_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_group_member_stats.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/replication_group_members.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/rwlock_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/session_account_connect_attrs.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/session_connect_attrs.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/session_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/session_variables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_actors.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_consumers.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_instruments.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_meters.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_metrics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_objects.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_threads.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/setup_timers.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/socket_instances.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/socket_summary_by_event_name.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/socket_summary_by_instance.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/status_by_account.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/status_by_host.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/status_by_thread.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/status_by_user.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/table_handles.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/table_io_waits_summary_by_index_usage.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/table_io_waits_summary_by_table.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/table_lock_waits_summary_by_table.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/threads.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/tls_channel_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/user_defined_functions.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/user_variables_by_thread.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/users.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/variables_by_thread.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/performance_schema/variables_info.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary_by_file_io.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary_by_file_io_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary_by_stages.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary_by_statement_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/host_summary_by_statement_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/innodb_buffer_stats_by_schema.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/innodb_buffer_stats_by_table.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/innodb_lock_waits.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/io_by_thread_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/io_global_by_file_by_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/io_global_by_file_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/io_global_by_wait_by_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/io_global_by_wait_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/latest_file_io.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/memory_by_host_by_current_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/memory_by_thread_by_current_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/memory_by_user_by_current_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/memory_global_by_current_bytes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/memory_global_total.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/metrics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/processlist.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/ps_check_lost_instrumentation.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_auto_increment_columns.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_index_statistics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_object_overview.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_redundant_indexes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_table_lock_waits.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_table_statistics.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_table_statistics_with_buffer.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_tables_with_full_table_scans.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/schema_unused_indexes.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/session.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/session_ssl_status.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statement_analysis.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statements_with_errors_or_warnings.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statements_with_full_table_scans.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statements_with_runtimes_in_95th_percentile.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statements_with_sorting.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/statements_with_temp_tables.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/sys_config.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary_by_file_io.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary_by_file_io_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary_by_stages.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary_by_statement_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/user_summary_by_statement_type.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/version.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/wait_classes_global_by_avg_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/wait_classes_global_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/waits_by_host_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/waits_by_user_by_latency.yaml\\E" }, { - "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase"}, + "condition":{"typeReachable":"org.apache.shardingsphere.metadata.factory.ExternalMetaDataFactory"}, "pattern":"\\Qschema/mysql/sys/waits_global_by_latency.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/_pg_foreign_data_wrappers.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/_pg_foreign_servers.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/_pg_foreign_table_columns.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/_pg_foreign_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/_pg_user_mappings.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/administrable_role_authorizations.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/applicable_roles.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/attributes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/character_sets.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/check_constraint_routine_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/check_constraints.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/collation_character_set_applicability.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/collations.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/column_column_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/column_domain_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/column_options.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/column_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/column_udt_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/columns.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/constraint_column_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/constraint_table_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/data_type_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/domain_constraints.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/domain_udt_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/domains.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/element_types.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/enabled_roles.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_data_wrapper_options.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_data_wrappers.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_server_options.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_servers.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_table_options.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/foreign_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/information_schema_catalog_name.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/key_column_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/parameters.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/referential_constraints.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/role_column_grants.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/role_routine_grants.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/role_table_grants.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/role_udt_grants.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/role_usage_grants.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routine_column_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routine_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routine_routine_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routine_sequence_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routine_table_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/routines.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/schemata.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/sequences.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/sql_features.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/sql_implementation_info.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/sql_parts.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/sql_sizing.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/table_constraints.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/table_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/transforms.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/triggered_update_columns.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/triggers.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/udt_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/usage_privileges.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/user_defined_types.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/user_mapping_options.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/user_mappings.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/view_column_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/view_routine_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/view_table_usage.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/information_schema/views.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_aggregate.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_am.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_amop.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_amproc.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_attrdef.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_attribute.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_auth_members.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_authid.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_available_extension_versions.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_available_extensions.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_backend_memory_contexts.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_cast.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_class.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_collation.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_config.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_constraint.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_conversion.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_cursors.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_database.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_db_role_setting.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_default_acl.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_depend.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_description.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_enum.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_event_trigger.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_extension.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_file_settings.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_foreign_data_wrapper.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_foreign_server.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_foreign_table.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_group.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_hba_file_rules.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_index.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_inherits.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_init_privs.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_language.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_largeobject.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_largeobject_metadata.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_locks.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_matviews.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_namespace.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_opclass.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_operator.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_opfamily.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_partitioned_table.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_policies.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_policy.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_prepared_statements.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_prepared_xacts.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_proc.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_publication.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_publication_rel.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_publication_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_range.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_replication_origin.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_replication_origin_status.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_replication_slots.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_rewrite.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_roles.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_rules.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_seclabel.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_seclabels.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_sequence.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_sequences.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_settings.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_shadow.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_shdepend.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_shdescription.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_shmem_allocations.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_shseclabel.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_activity.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_all_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_all_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_archiver.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_bgwriter.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_database.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_database_conflicts.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_gssapi.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_analyze.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_basebackup.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_cluster.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_copy.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_create_index.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_progress_vacuum.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_replication.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_replication_slots.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_slru.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_ssl.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_subscription.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_sys_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_sys_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_user_functions.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_user_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_user_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_wal.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_wal_receiver.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_xact_all_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_xact_sys_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_xact_user_functions.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stat_xact_user_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_all_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_all_sequences.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_all_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_sys_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_sys_sequences.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_sys_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_user_indexes.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_user_sequences.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statio_user_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statistic.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statistic_ext.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_statistic_ext_data.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stats.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stats_ext.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_stats_ext_exprs.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_subscription.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_subscription_rel.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_tables.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_tablespace.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_timezone_abbrevs.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_timezone_names.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_transform.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_trigger.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_ts_config.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_ts_config_map.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_ts_dict.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_ts_parser.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_ts_template.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_type.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_user.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_user_mapping.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_user_mappings.yaml\\E" + }, { + "condition":{"typeReachable":"org.apache.shardingsphere.infra.metadata.database.schema.manager.SystemSchemaManager"}, + "pattern":"\\Qschema/postgresql/pg_catalog/pg_views.yaml\\E" }, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.util.directory.ClasspathResourceDirectoryReader"}, "pattern":"\\Qschema\\E" @@ -1422,9 +2034,6 @@ }, { "condition":{"typeReachable":"org.apache.shardingsphere.mode.repository.cluster.etcd.EtcdRepository"}, "pattern":"\\Qvertx-default-jul-logging.properties\\E" - }, { - "condition":{"typeReachable":"org.apache.shardingsphere.driver.jdbc.core.datasource.ShardingSphereDataSource"}, - "pattern":"java.base:\\Qjdk/internal/icu/impl/data/icudt74b/nfkc.nrm\\E" }]}, "bundles":[{ "name":"com.microsoft.sqlserver.jdbc.SQLServerResource", diff --git a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/shardingsphere-infra-reachability-metadata/reflect-config.json b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/shardingsphere-infra-reachability-metadata/reflect-config.json index 4749ddcd5fd0a..f9c1d2ec03e9a 100644 --- a/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/shardingsphere-infra-reachability-metadata/reflect-config.json +++ b/infra/reachability-metadata/src/main/resources/META-INF/native-image/org.apache.shardingsphere/shardingsphere-infra-reachability-metadata/reflect-config.json @@ -85,11 +85,6 @@ "name":"org.apache.shardingsphere.sql.parser.statement.hive.dml.HiveInsertStatement", "methods":[{"name":"","parameterTypes":[] }] }, -{ - "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.DeleteStatementBinder"}, - "name":"org.apache.shardingsphere.sql.parser.statement.postgresql.dml.PostgreSQLDeleteStatement", - "methods":[{"name":"","parameterTypes":[] }] -}, { "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.DeleteStatementBinder"}, "name":"org.apache.shardingsphere.sql.parser.statement.hive.dml.HiveDeleteStatement", @@ -109,5 +104,30 @@ "condition":{"typeReachable":"org.apache.shardingsphere.infra.binder.engine.statement.dml.DeleteStatementBinder"}, "name":"org.apache.shardingsphere.sql.parser.statement.clickhouse.dml.ClickHouseDeleteStatement", "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLDALStatementVisitor"}, + "name":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLDALStatementVisitor", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLTCLStatementVisitor"}, + "name":"org.apache.shardingsphere.sql.parser.postgresql.visitor.statement.type.PostgreSQLTCLStatementVisitor", + "methods":[{"name":"","parameterTypes":[] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseLexer"}, + "name":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseLexer", + "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.CharStream"] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseParser"}, + "name":"org.apache.shardingsphere.sql.parser.clickhouse.parser.ClickHouseParser", + "methods":[{"name":"","parameterTypes":["org.antlr.v4.runtime.TokenStream"] }] +}, +{ + "condition":{"typeReachable":"org.apache.shardingsphere.sql.parser.clickhouse.visitor.statement.type.ClickHouseDMLStatementVisitor"}, + "name":"org.apache.shardingsphere.sql.parser.clickhouse.visitor.statement.type.ClickHouseDMLStatementVisitor", + "methods":[{"name":"","parameterTypes":[] }] } ] diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/TestShardingService.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java similarity index 95% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/TestShardingService.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java index 42a4215b1ca90..33b8288a7dc78 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/TestShardingService.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/TestShardingService.java @@ -15,15 +15,15 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons; +package org.apache.shardingsphere.test.natived.commons; import lombok.Getter; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.AddressRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderItemRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderRepository; import org.awaitility.Awaitility; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java similarity index 96% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java index c561a26c9b008..c38ca48bb4031 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/ClassBasedInlineShardingAlgorithmFixture.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.algorithm; +package org.apache.shardingsphere.test.natived.commons.algorithm; import org.apache.shardingsphere.sharding.api.sharding.standard.PreciseShardingValue; import org.apache.shardingsphere.sharding.api.sharding.standard.RangeShardingValue; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java similarity index 96% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java index dc1ee63771f1e..700cd0172d7f7 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/algorithm/TestQueryAssistedShardingEncryptAlgorithm.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.algorithm; +package org.apache.shardingsphere.test.natived.commons.algorithm; import lombok.Getter; import org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Address.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Address.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Address.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Address.java index a9d8b7f09c2b1..d07aa954a0fd0 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Address.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Address.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.entity; +package org.apache.shardingsphere.test.natived.commons.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Order.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Order.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Order.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Order.java index ceab93a5b44eb..8616e2a50e558 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/Order.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/Order.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.entity; +package org.apache.shardingsphere.test.natived.commons.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/OrderItem.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/OrderItem.java similarity index 94% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/OrderItem.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/OrderItem.java index 80488212080cf..1815c96d90ce1 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/entity/OrderItem.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/entity/OrderItem.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.entity; +package org.apache.shardingsphere.test.natived.commons.entity; import lombok.AllArgsConstructor; import lombok.Data; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/commons/ProxyTestingServer.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/proxy/ProxyTestingServer.java similarity index 97% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/commons/ProxyTestingServer.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/proxy/ProxyTestingServer.java index 3d1597b178ddd..806e08a8db52b 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/commons/ProxyTestingServer.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/proxy/ProxyTestingServer.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.proxy.commons; +package org.apache.shardingsphere.test.natived.commons.proxy; import lombok.Getter; import org.apache.curator.test.InstanceSpec; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/AddressRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/AddressRepository.java similarity index 97% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/AddressRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/AddressRepository.java index e8ddf3c3c2f33..2797433e0a61f 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/AddressRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/AddressRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.repository; +package org.apache.shardingsphere.test.natived.commons.repository; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Address; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderItemRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderItemRepository.java similarity index 98% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderItemRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderItemRepository.java index fd43e4660c949..7eb5bfbbc8fff 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderItemRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderItemRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.repository; +package org.apache.shardingsphere.test.natived.commons.repository; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderRepository.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderRepository.java similarity index 98% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderRepository.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderRepository.java index c8a1957118208..362508606b343 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/repository/OrderRepository.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/repository/OrderRepository.java @@ -15,9 +15,9 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.repository; +package org.apache.shardingsphere.test.natived.commons.repository; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.Order; import javax.sql.DataSource; import java.sql.Connection; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/testcontainers/ClickHouseProvider.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/testcontainers/ClickHouseProvider.java similarity index 96% rename from test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/testcontainers/ClickHouseProvider.java rename to test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/testcontainers/ClickHouseProvider.java index e9ec54e963000..b65fe9ae6b665 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/testcontainers/ClickHouseProvider.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/commons/testcontainers/ClickHouseProvider.java @@ -15,7 +15,7 @@ * limitations under the License. */ -package org.apache.shardingsphere.test.natived.jdbc.commons.testcontainers; +package org.apache.shardingsphere.test.natived.commons.testcontainers; import org.testcontainers.clickhouse.ClickHouseContainer; import org.testcontainers.containers.JdbcDatabaseContainer; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/ClickHouseTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/ClickHouseTest.java index 1291caa9f1cac..2a7a7a0cf5f90 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/ClickHouseTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/ClickHouseTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledInNativeImage; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/HiveTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/HiveTest.java index 03be9d1cfaef9..53e53ce118c38 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/HiveTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/HiveTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/MySQLTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/MySQLTest.java index 8c8cff8bbfbde..1f9f0ef9bca37 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/MySQLTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/MySQLTest.java @@ -20,7 +20,7 @@ import com.mysql.cj.jdbc.exceptions.CommunicationsException; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/OpenGaussTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/OpenGaussTest.java index 1a333e7e4efe0..ea30c5bc6d5b4 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/OpenGaussTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/OpenGaussTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/PostgresTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/PostgresTest.java index d64abb1965083..50bb91aaeaf03 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/PostgresTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/PostgresTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledInNativeImage; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/SQLServerTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/SQLServerTest.java index 4cdaa36d2f89a..c0b3cfa1aaaa8 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/SQLServerTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/databases/SQLServerTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.EnabledInNativeImage; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/EncryptTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/EncryptTest.java index 31565acf93198..0918756e9b5c3 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/EncryptTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/EncryptTest.java @@ -19,12 +19,12 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.AddressRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderItemRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/MaskTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/MaskTest.java index 660719488731c..ee1d5eab7e449 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/MaskTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/MaskTest.java @@ -19,12 +19,12 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.AddressRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderItemRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ReadWriteSplittingTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ReadWriteSplittingTest.java index 2bb48c20d21a9..a6cb27589334f 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ReadWriteSplittingTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ReadWriteSplittingTest.java @@ -19,12 +19,12 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.AddressRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderItemRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderRepository; import org.h2.jdbc.JdbcSQLSyntaxErrorException; import org.junit.jupiter.api.Test; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShadowTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShadowTest.java index c7e29830dccf9..143a55341da80 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShadowTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShadowTest.java @@ -19,12 +19,12 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Address; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.Order; -import org.apache.shardingsphere.test.natived.jdbc.commons.entity.OrderItem; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.AddressRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderItemRepository; -import org.apache.shardingsphere.test.natived.jdbc.commons.repository.OrderRepository; +import org.apache.shardingsphere.test.natived.commons.entity.Address; +import org.apache.shardingsphere.test.natived.commons.entity.Order; +import org.apache.shardingsphere.test.natived.commons.entity.OrderItem; +import org.apache.shardingsphere.test.natived.commons.repository.AddressRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderItemRepository; +import org.apache.shardingsphere.test.natived.commons.repository.OrderRepository; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShardingTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShardingTest.java index 32efaef02140c..dd3aa046f0a86 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShardingTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/features/ShardingTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/EtcdTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/EtcdTest.java index 184f41a92cb8c..69a3e5340faba 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/EtcdTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/EtcdTest.java @@ -20,7 +20,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; import io.etcd.jetcd.test.EtcdClusterExtension; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/ZookeeperTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/ZookeeperTest.java index 68355db0733fb..abd73e2d5f5fb 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/ZookeeperTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/modes/cluster/ZookeeperTest.java @@ -23,7 +23,7 @@ import org.apache.curator.framework.CuratorFrameworkFactory; import org.apache.curator.retry.ExponentialBackoffRetry; import org.apache.curator.test.TestingServer; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/base/SeataTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/base/SeataTest.java index 2017e35e86550..7ac7dd61539d2 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/base/SeataTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/base/SeataTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/AtomikosTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/AtomikosTest.java index 141c4f87d6dfe..d8ba18733f4c5 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/AtomikosTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/AtomikosTest.java @@ -19,7 +19,7 @@ import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/NarayanaTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/NarayanaTest.java index ba7103fd8851a..5093e431637a0 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/NarayanaTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/jdbc/transactions/xa/NarayanaTest.java @@ -21,7 +21,7 @@ import com.arjuna.ats.arjuna.common.arjPropertyManager; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; import org.junit.jupiter.api.Test; import javax.sql.DataSource; diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/databases/PostgresTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/databases/PostgresTest.java new file mode 100644 index 0000000000000..bfaafd8bc5289 --- /dev/null +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/databases/PostgresTest.java @@ -0,0 +1,168 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.shardingsphere.test.natived.proxy.databases; + +import com.zaxxer.hikari.HikariConfig; +import com.zaxxer.hikari.HikariDataSource; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.proxy.ProxyTestingServer; +import org.awaitility.Awaitility; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.EnabledInNativeImage; +import org.testcontainers.containers.GenericContainer; +import org.testcontainers.junit.jupiter.Container; +import org.testcontainers.junit.jupiter.Testcontainers; + +import javax.sql.DataSource; +import java.nio.file.Paths; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.sql.Statement; +import java.time.Duration; +import java.util.Properties; +import java.util.concurrent.TimeUnit; + +@SuppressWarnings({"SqlNoDataSourceInspection", "SameParameterValue", "resource"}) +@EnabledInNativeImage +@Testcontainers +class PostgresTest { + + @Container + public static final GenericContainer POSTGRES_CONTAINER = new GenericContainer<>("postgres:16.3-bookworm") + .withEnv("POSTGRES_PASSWORD", "yourStrongPassword123!") + .withExposedPorts(5432); + + private static ProxyTestingServer proxyTestingServer; + + private TestShardingService testShardingService; + + @BeforeAll + static void beforeAll() throws SQLException { + Awaitility.await().atMost(Duration.ofMinutes(30L)).ignoreExceptions().until(() -> { + openConnection("postgres", "yourStrongPassword123!", "jdbc:postgresql://127.0.0.1:" + POSTGRES_CONTAINER.getMappedPort(5432) + "/") + .close(); + return true; + }); + try ( + Connection connection = openConnection("postgres", "yourStrongPassword123!", "jdbc:postgresql://127.0.0.1:" + POSTGRES_CONTAINER.getMappedPort(5432) + "/"); + Statement statement = connection.createStatement()) { + statement.executeUpdate("CREATE DATABASE demo_ds_0"); + statement.executeUpdate("CREATE DATABASE demo_ds_1"); + statement.executeUpdate("CREATE DATABASE demo_ds_2"); + } + String absolutePath = Paths.get("src/test/resources/test-native/yaml/proxy/databases/postgresql").toAbsolutePath().normalize().toString(); + proxyTestingServer = new ProxyTestingServer(absolutePath); + try { + TimeUnit.SECONDS.sleep(10L); + } catch (final InterruptedException ex) { + throw new RuntimeException(ex); + } + Awaitility.await().atMost(Duration.ofMinutes(30L)).until(() -> { + openConnection("root", "root", "jdbc:postgresql://127.0.0.1:" + proxyTestingServer.getProxyPort() + "/postgres").close(); + return true; + }); + } + + @AfterAll + static void afterAll() { + proxyTestingServer.close(); + } + + /** + * {@link groovy.lang.Closure} related classes are not available on GraalVM Native Image. + * This CLASS_BASE algorithm class is designed to emulate INLINE's {@code ds_${user_id % 2}}. + * See oracle/graal#5522 . + * + * @throws SQLException SQL Exception + */ + @Test + void assertShardingInLocalTransactions() throws SQLException { + try ( + Connection connection = openConnection("root", "root", "jdbc:postgresql://127.0.0.1:" + proxyTestingServer.getProxyPort() + "/postgres"); + Statement statement = connection.createStatement()) { + statement.execute("CREATE DATABASE sharding_db"); + } + try ( + Connection connection = openConnection("root", "root", "jdbc:postgresql://127.0.0.1:" + proxyTestingServer.getProxyPort() + "/sharding_db"); + Statement statement = connection.createStatement()) { + statement.execute("REGISTER STORAGE UNIT ds_0 (\n" + + " URL=\"jdbc:postgresql://127.0.0.1:" + POSTGRES_CONTAINER.getMappedPort(5432) + "/demo_ds_0\",\n" + + " USER=\"postgres\",\n" + + " PASSWORD=\"yourStrongPassword123!\"\n" + + "),ds_1 (\n" + + " URL=\"jdbc:postgresql://127.0.0.1:" + POSTGRES_CONTAINER.getMappedPort(5432) + "/demo_ds_1\",\n" + + " USER=\"postgres\",\n" + + " PASSWORD=\"yourStrongPassword123!\"\n" + + "),ds_2 (\n" + + " URL=\"jdbc:postgresql://127.0.0.1:" + POSTGRES_CONTAINER.getMappedPort(5432) + "/demo_ds_2\",\n" + + " USER=\"postgres\",\n" + + " PASSWORD=\"yourStrongPassword123!\"\n" + + ")"); + statement.execute("CREATE DEFAULT SHARDING DATABASE STRATEGY (\n" + + " TYPE=\"standard\", \n" + + " SHARDING_COLUMN=user_id, \n" + + " SHARDING_ALGORITHM(\n" + + " TYPE(\n" + + " NAME=CLASS_BASED, \n" + + " PROPERTIES(\n" + + " \"strategy\"=\"STANDARD\",\n" + + " \"algorithmClassName\"=\"org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture\"\n" + + " )\n" + + " )\n" + + " )\n" + + ")"); + statement.execute("CREATE SHARDING TABLE RULE t_order (\n" + + " DATANODES(\"ds_0.t_order, ds_1.t_order, ds_2.t_order\"),\n" + + " KEY_GENERATE_STRATEGY(COLUMN=order_id,TYPE(NAME=\"SNOWFLAKE\"))\n" + + "), t_order_item (\n" + + " DATANODES(\"ds_0.t_order_item, ds_1.t_order_item, ds_2.t_order_item\"),\n" + + " KEY_GENERATE_STRATEGY(COLUMN=order_item_id,TYPE(NAME=\"SNOWFLAKE\"))\n" + + ")"); + statement.execute("CREATE BROADCAST TABLE RULE t_address"); + } + HikariConfig config = new HikariConfig(); + config.setDriverClassName("org.postgresql.Driver"); + config.setJdbcUrl("jdbc:postgresql://127.0.0.1:" + proxyTestingServer.getProxyPort() + "/sharding_db"); + config.setUsername("root"); + config.setPassword("root"); + DataSource dataSource = new HikariDataSource(config); + testShardingService = new TestShardingService(dataSource); + initEnvironment(); + testShardingService.processSuccess(); + testShardingService.cleanEnvironment(); + } + + private void initEnvironment() throws SQLException { + testShardingService.getOrderRepository().createTableIfNotExistsInPostgres(); + testShardingService.getOrderItemRepository().createTableIfNotExistsInPostgres(); + testShardingService.getAddressRepository().createTableIfNotExistsInMySQL(); + testShardingService.getOrderRepository().truncateTable(); + testShardingService.getOrderItemRepository().truncateTable(); + testShardingService.getAddressRepository().truncateTable(); + } + + private static Connection openConnection(final String username, final String password, final String jdbcUrl) throws SQLException { + Properties props = new Properties(); + props.setProperty("user", username); + props.setProperty("password", password); + return DriverManager.getConnection(jdbcUrl, props); + } +} diff --git a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/features/ShardingTest.java b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/features/ShardingTest.java index 228bc5c1c1266..c40ce8a9db47c 100644 --- a/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/features/ShardingTest.java +++ b/test/native/src/test/java/org/apache/shardingsphere/test/natived/proxy/features/ShardingTest.java @@ -20,8 +20,8 @@ import com.mysql.cj.jdbc.exceptions.CommunicationsException; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import org.apache.shardingsphere.test.natived.jdbc.commons.TestShardingService; -import org.apache.shardingsphere.test.natived.proxy.commons.ProxyTestingServer; +import org.apache.shardingsphere.test.natived.commons.TestShardingService; +import org.apache.shardingsphere.test.natived.commons.proxy.ProxyTestingServer; import org.awaitility.Awaitility; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; @@ -68,7 +68,7 @@ static void beforeAll() throws SQLException { statement.executeUpdate("CREATE DATABASE demo_ds_1"); statement.executeUpdate("CREATE DATABASE demo_ds_2"); } - String absolutePath = Paths.get("src/test/resources/test-native/yaml/proxy/features").toAbsolutePath().normalize().toString(); + String absolutePath = Paths.get("src/test/resources/test-native/yaml/proxy/features/sharding").toAbsolutePath().normalize().toString(); proxyTestingServer = new ProxyTestingServer(absolutePath); Awaitility.await().atMost(Duration.ofMinutes(30L)).ignoreExceptionsMatching(e -> e instanceof CommunicationsException).until(() -> { openConnection("root", "root", "jdbc:mysql://127.0.0.1:" + proxyTestingServer.getProxyPort()).close(); @@ -116,7 +116,7 @@ void assertShardingInLocalTransactions() throws SQLException { + " NAME=CLASS_BASED, \n" + " PROPERTIES(\n" + " \"strategy\"=\"STANDARD\",\n" - + " \"algorithmClassName\"=\"org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture\"\n" + + " \"algorithmClassName\"=\"org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture\"\n" + " )\n" + " )\n" + " )\n" diff --git a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/reflect-config.json b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/reflect-config.json index 74ded5e33d0d7..92ed3029f2203 100644 --- a/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/reflect-config.json +++ b/test/native/src/test/resources/META-INF/native-image/shardingsphere-test-native-test-metadata/reflect-config.json @@ -1,12 +1,12 @@ [ { "condition":{"typeReachable":"org.apache.shardingsphere.sharding.algorithm.sharding.classbased.ClassBasedShardingAlgorithmFactory"}, - "name":"org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture", + "name":"org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture", "methods":[{"name":"","parameterTypes":[] }] }, { "condition":{"typeReachable":"org.apache.shardingsphere.test.natived.jdbc.features.EncryptTest"}, - "name":"org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.TestQueryAssistedShardingEncryptAlgorithm", + "name":"org.apache.shardingsphere.test.natived.commons.algorithm.TestQueryAssistedShardingEncryptAlgorithm", "methods":[{"name":"","parameterTypes":[] }] } ] diff --git a/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm b/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm index 0f0223e7d2957..0f0a9f6f56017 100644 --- a/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm +++ b/test/native/src/test/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm @@ -15,4 +15,4 @@ # limitations under the License. # -org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.TestQueryAssistedShardingEncryptAlgorithm +org.apache.shardingsphere.test.natived.commons.algorithm.TestQueryAssistedShardingEncryptAlgorithm diff --git a/test/native/src/test/resources/META-INF/services/org.testcontainers.containers.JdbcDatabaseContainerProvider b/test/native/src/test/resources/META-INF/services/org.testcontainers.containers.JdbcDatabaseContainerProvider index a4a4667b0e4f5..ff304ca3b3e4a 100644 --- a/test/native/src/test/resources/META-INF/services/org.testcontainers.containers.JdbcDatabaseContainerProvider +++ b/test/native/src/test/resources/META-INF/services/org.testcontainers.containers.JdbcDatabaseContainerProvider @@ -15,4 +15,4 @@ # limitations under the License. # -org.apache.shardingsphere.test.natived.jdbc.commons.testcontainers.ClickHouseProvider +org.apache.shardingsphere.test.natived.commons.testcontainers.ClickHouseProvider diff --git a/test/native/src/test/resources/test-native/yaml/databases/clickhouse.yaml b/test/native/src/test/resources/test-native/yaml/databases/clickhouse.yaml index eca4433a32414..bd2aa6413513e 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/clickhouse.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/clickhouse.yaml @@ -57,7 +57,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/databases/hive.yaml b/test/native/src/test/resources/test-native/yaml/databases/hive.yaml index c44cd303bb3bc..5cff80297e9a0 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/hive.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/hive.yaml @@ -56,7 +56,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/databases/mysql.yaml b/test/native/src/test/resources/test-native/yaml/databases/mysql.yaml index 950b1fea8c63d..93bd77375d91d 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/mysql.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/mysql.yaml @@ -62,7 +62,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/databases/opengauss.yaml b/test/native/src/test/resources/test-native/yaml/databases/opengauss.yaml index 8b011d69fbff1..fe57af27086af 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/opengauss.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/opengauss.yaml @@ -62,7 +62,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/databases/postgresql.yaml b/test/native/src/test/resources/test-native/yaml/databases/postgresql.yaml index c3bc45ea435fa..276988e10b6f4 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/postgresql.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/postgresql.yaml @@ -56,7 +56,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/databases/sqlserver.yaml b/test/native/src/test/resources/test-native/yaml/databases/sqlserver.yaml index f7a3d7010fb3f..c80a89f6774ce 100644 --- a/test/native/src/test/resources/test-native/yaml/databases/sqlserver.yaml +++ b/test/native/src/test/resources/test-native/yaml/databases/sqlserver.yaml @@ -56,7 +56,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/features/sharding.yaml b/test/native/src/test/resources/test-native/yaml/features/sharding.yaml index a72f22eb5bd9b..740db6101fb29 100644 --- a/test/native/src/test/resources/test-native/yaml/features/sharding.yaml +++ b/test/native/src/test/resources/test-native/yaml/features/sharding.yaml @@ -65,7 +65,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/modes/cluster/etcd.yaml b/test/native/src/test/resources/test-native/yaml/modes/cluster/etcd.yaml index 71efc4b792e8f..6ed94a9773ae3 100644 --- a/test/native/src/test/resources/test-native/yaml/modes/cluster/etcd.yaml +++ b/test/native/src/test/resources/test-native/yaml/modes/cluster/etcd.yaml @@ -65,7 +65,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/modes/cluster/zookeeper.yaml b/test/native/src/test/resources/test-native/yaml/modes/cluster/zookeeper.yaml index 0c0690c601077..55af6d82742f8 100644 --- a/test/native/src/test/resources/test-native/yaml/modes/cluster/zookeeper.yaml +++ b/test/native/src/test/resources/test-native/yaml/modes/cluster/zookeeper.yaml @@ -65,7 +65,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml b/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml new file mode 100644 index 0000000000000..164a86b109563 --- /dev/null +++ b/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml @@ -0,0 +1,30 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +mode: + type: Standalone + repository: + type: JDBC +authority: + users: + - user: root@% + password: root + privilege: + type: ALL_PERMITTED +props: + sql-show: false + proxy-frontend-database-protocol-type: PostgreSQL diff --git a/test/native/src/test/resources/test-native/yaml/proxy/features/global.yaml b/test/native/src/test/resources/test-native/yaml/proxy/features/sharding/global.yaml similarity index 100% rename from test/native/src/test/resources/test-native/yaml/proxy/features/global.yaml rename to test/native/src/test/resources/test-native/yaml/proxy/features/sharding/global.yaml diff --git a/test/native/src/test/resources/test-native/yaml/transactions/base/seata.yaml b/test/native/src/test/resources/test-native/yaml/transactions/base/seata.yaml index 685a54bf261ab..89bfe34eb17bc 100644 --- a/test/native/src/test/resources/test-native/yaml/transactions/base/seata.yaml +++ b/test/native/src/test/resources/test-native/yaml/transactions/base/seata.yaml @@ -56,7 +56,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/transactions/xa/atomikos.yaml b/test/native/src/test/resources/test-native/yaml/transactions/xa/atomikos.yaml index 40d7c72fb9c2d..cea747ea4b728 100644 --- a/test/native/src/test/resources/test-native/yaml/transactions/xa/atomikos.yaml +++ b/test/native/src/test/resources/test-native/yaml/transactions/xa/atomikos.yaml @@ -62,7 +62,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE diff --git a/test/native/src/test/resources/test-native/yaml/transactions/xa/narayana.yaml b/test/native/src/test/resources/test-native/yaml/transactions/xa/narayana.yaml index 88edcd4fe931c..b599e1eb05f80 100644 --- a/test/native/src/test/resources/test-native/yaml/transactions/xa/narayana.yaml +++ b/test/native/src/test/resources/test-native/yaml/transactions/xa/narayana.yaml @@ -62,7 +62,7 @@ rules: type: CLASS_BASED props: strategy: STANDARD - algorithmClassName: org.apache.shardingsphere.test.natived.jdbc.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture + algorithmClassName: org.apache.shardingsphere.test.natived.commons.algorithm.ClassBasedInlineShardingAlgorithmFixture keyGenerators: snowflake: type: SNOWFLAKE