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 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 */
4960public 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 );
You can’t perform that action at this time.
0 commit comments