File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
src/main/java/apijson/influxdb Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 39
39
* @see DemoSQLExecutor 重写 execute 方法:
40
40
* \@Override
41
41
* 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);
44
44
* }
45
45
*
46
46
* return super.execute(config, unknownType);
47
47
* }
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
+ * }
48
59
*/
49
60
public class InfluxDBUtil {
50
- public static final String TAG = "MilvusUtil " ;
61
+ public static final String TAG = "InfluxDBUtil " ;
51
62
52
63
public static String getSchema (String schema , String defaultSchema ) {
53
64
return getSchema (schema , defaultSchema , true );
You can’t perform that action at this time.
0 commit comments