Skip to content

Commit 8761fe1

Browse files
committed
完善注释
1 parent 35d2ae3 commit 8761fe1

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

src/main/java/apijson/influxdb/InfluxDBUtil.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,26 @@
3939
* @see DemoSQLExecutor 重写 execute 方法:
4040
* \@Override
4141
* public JSONObject execute(@NotNull SQLConfig<Long> config, boolean unknownType) throws Exception {
42-
* if (config.isMilvus()) {
43-
* return MilvusUtil.execute(config, null, unknownType);
42+
* if (config.isInfluxDB()) {
43+
* return InfluxDBUtil.execute(config, null, unknownType);
4444
* }
4545
*
4646
* return super.execute(config, unknownType);
4747
* }
48+
*
49+
* DemoSQLConfig 重写方法 getSchema, getSQLSchema 方法
50+
* \@Override
51+
* public String getSchema() {
52+
* return InfluxDBUtil.getSchema(super.getSchema(), DEFAULT_SCHEMA, isInfluxDB());
53+
* }
54+
*
55+
* \@Override
56+
* public String getSQLSchema() {
57+
* return InfluxDBUtil.getSQLSchema(super.getSQLSchema(), isInfluxDB());
58+
* }
4859
*/
4960
public class InfluxDBUtil {
50-
public static final String TAG = "MilvusUtil";
61+
public static final String TAG = "InfluxDBUtil";
5162

5263
public static String getSchema(String schema, String defaultSchema) {
5364
return getSchema(schema, defaultSchema, true);

0 commit comments

Comments
 (0)