@Override
  public void setString(int parameterIndex, String x) {
    // if the sql is an insert statement and the value is not a string literal, add single quotes
    // The table model only supports single quotes, the tree model sql both single and double quotes
    if ("table".equalsIgnoreCase(getSqlDialect())
        || ((sql.trim().toUpperCase().startsWith("INSERT")
            && !((x.startsWith("'") && x.endsWith("'"))
                || ((x.startsWith("\"") && x.endsWith("\""))
                    && "tree".equals(getSqlDialect())))))) {
      this.parameters.put(parameterIndex, "'" + x + "'");
    } else {
      this.parameters.put(parameterIndex, x);
    }
  }
save the SQL parameters as (paramLoc,paramValue) pairs.
iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBPreparedStatement.java