Skip to content

Commit a964397

Browse files
committed
升级 APIJSON 8.2.0,默认配置 StarRocks - 全球最快的开源查询引擎,为数据湖仓亚秒级分析而生
1 parent bd4a5b0 commit a964397

5 files changed

Lines changed: 22 additions & 2 deletions

File tree

libs/APIJSON-8.1.8.jar

-260 KB
Binary file not shown.

libs/APIJSON-8.2.0.jar

261 KB
Binary file not shown.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.framework</groupId>
77
<artifactId>apijson-framework</artifactId>
8-
<version>8.1.8</version>
8+
<version>8.2.0</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONFramework</name>
@@ -39,7 +39,7 @@
3939
<dependency>
4040
<groupId>com.github.Tencent</groupId>
4141
<artifactId>APIJSON</artifactId>
42-
<version>8.1.8</version>
42+
<version>8.2.0</version>
4343
</dependency>
4444

4545
<!-- 数据库 JDBC 驱动 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->

src/main/java/apijson/framework/APIJSONSQLConfig.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ public String gainDBUri() {
206206
if (isDoris()) {
207207
return "jdbc:mysql://localhost:9030";
208208
}
209+
if (isStarRocks()) {
210+
return "jdbc:mysql://localhost:9030";
211+
}
212+
209213
return null;
210214
}
211215

@@ -287,6 +291,9 @@ public String gainDBAccount() {
287291
if (isDoris()) {
288292
return "root"; //TODO 改成你自己的
289293
}
294+
if (isStarRocks()) {
295+
return "root"; //TODO 改成你自己的
296+
}
290297

291298
return null;
292299
}
@@ -365,6 +372,9 @@ public String gainDBPassword() {
365372
if (isDoris()) {
366373
return "";
367374
}
375+
if (isStarRocks()) {
376+
return "";
377+
}
368378

369379
return null;
370380
}

src/main/java/apijson/framework/javax/APIJSONSQLConfig.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ public String gainDBUri() {
203203
if (isDoris()) {
204204
return "jdbc:mysql://localhost:9030";
205205
}
206+
if (isStarRocks()) {
207+
return "jdbc:mysql://localhost:9030";
208+
}
209+
206210
return null;
207211
}
208212

@@ -284,6 +288,9 @@ public String gainDBAccount() {
284288
if (isDoris()) {
285289
return "root"; //TODO 改成你自己的
286290
}
291+
if (isStarRocks()) {
292+
return "root"; //TODO 改成你自己的
293+
}
287294

288295
return null;
289296
}
@@ -362,6 +369,9 @@ public String gainDBPassword() {
362369
if (isDoris()) {
363370
return "";
364371
}
372+
if (isStarRocks()) {
373+
return "";
374+
}
365375

366376
return null;
367377
}

0 commit comments

Comments
 (0)