feat: 新增 SQL 联邦查询与数据库适配底座

- 提供统一编译、逻辑表映射与单源/联邦自动路由

- 增加有界执行、查询生命周期、统计成本优化与执行分析

- 内置 MySQL 与 PostgreSQL JDBC 适配和统计采集
This commit is contained in:
2026-08-25 01:00:49 +08:00
parent 2f67d90144
commit 02b8fdd3ae
155 changed files with 27704 additions and 0 deletions

31
pom.xml
View File

@@ -31,6 +31,7 @@
<module>easy-agents-agent-runtime</module>
<module>easy-agents-agui</module>
<module>easy-agents-flow</module>
<module>easy-agents-federation-sql</module>
<module>easy-agents-support</module>
</modules>
@@ -49,6 +50,8 @@
<agentscope.version>1.0.12</agentscope.version>
<snakeyaml.version>2.6</snakeyaml.version>
<commons-compress.version>1.28.0</commons-compress.version>
<calcite.version>1.42.0</calcite.version>
<h2.version>2.3.232</h2.version>
</properties>
@@ -129,6 +132,19 @@
<version>${commons-compress.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<!--easy-agents dependency management-->
<dependency>
<groupId>com.easyagents</groupId>
@@ -202,6 +218,21 @@
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.easyagents</groupId>
<artifactId>easy-agents-federation-sql-core</artifactId>
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.easyagents</groupId>
<artifactId>easy-agents-federation-sql-adapter-jdbc</artifactId>
<version>${revision}</version>
</dependency>
<!--image model start-->
<dependency>