CritasWang commented on code in PR #67:
URL: https://github.com/apache/iotdb-extras/pull/67#discussion_r2076643077


##########
iotdb-spring-boot-starter/src/main/java/org/apache/iotdb/config/IoTDBSessionProperties.java:
##########
@@ -17,158 +17,236 @@
 
 package org.apache.iotdb.config;
 
+import org.apache.iotdb.isession.SessionConfig;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 
+import java.time.ZoneId;
+
 @ConfigurationProperties(prefix = "iotdb.session")
 public class IoTDBSessionProperties {
-  private String url;
-  private String username;
-  private String password;
-  private String database;
-  private String sql_dialect = "table";
-  private Integer max_size = 5;
-  private Integer fetch_size = 1024;
-  private long query_timeout_in_ms = 60000L;
-  private boolean enable_auto_fetch = true;
-  private boolean use_ssl = false;
-  private int max_retry_count = 60;
-  private long wait_to_get_session_timeout_in_msit = 60000L;
-  private boolean enable_compression = false;
-  private long retry_interval_in_ms = 500L;
-
-  public String getUrl() {
-    return url;
-  }
-
-  public void setUrl(String url) {
-    this.url = url;
-  }
-
-  public String getUsername() {
-    return username;
-  }
-
-  public void setUsername(String username) {
-    this.username = username;
-  }
-
-  public String getPassword() {
-    return password;
-  }
-
-  public void setPassword(String password) {
-    this.password = password;
-  }
-
-  public String getDatabase() {
-    return database;
-  }
-
-  public void setDatabase(String database) {
-    this.database = database;
-  }
-
-  public String getSql_dialect() {
-    return sql_dialect;
-  }
-
-  public void setSql_dialect(String sql_dialect) {
-    this.sql_dialect = sql_dialect;
-  }
-
-  public Integer getMax_size() {
-    return max_size;
-  }
-
-  public void setMax_size(Integer max_size) {
-    this.max_size = max_size;
-  }
-
-  public Integer getFetch_size() {
-    return fetch_size;
-  }
-
-  public void setFetch_size(Integer fetch_size) {
-    this.fetch_size = fetch_size;
-  }
-
-  public Long getQuery_timeout_in_ms() {
-    return query_timeout_in_ms;
-  }
-
-  public void setQuery_timeout_in_ms(Long query_timeout_in_ms) {
-    this.query_timeout_in_ms = query_timeout_in_ms;
-  }
-
-  public Boolean getEnable_auto_fetch() {
-    return enable_auto_fetch;
-  }
-
-  public void setEnable_auto_fetch(Boolean enable_auto_fetch) {
-    this.enable_auto_fetch = enable_auto_fetch;
-  }
-
-  public Boolean getUse_ssl() {
-    return use_ssl;
-  }
-
-  public void setUse_ssl(Boolean use_ssl) {
-    this.use_ssl = use_ssl;
-  }
-
-  public Integer getMax_retry_count() {
-    return max_retry_count;
-  }
-
-  public void setMax_retry_count(Integer max_retry_count) {
-    this.max_retry_count = max_retry_count;
-  }
-
-  public void setQuery_timeout_in_ms(long query_timeout_in_ms) {
-    this.query_timeout_in_ms = query_timeout_in_ms;
-  }
-
-  public boolean isEnable_auto_fetch() {
-    return enable_auto_fetch;
-  }
-
-  public void setEnable_auto_fetch(boolean enable_auto_fetch) {
-    this.enable_auto_fetch = enable_auto_fetch;
-  }
+    private String url;

Review Comment:
   Change to nodeUrls



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to