@Override
  public void setDate(int parameterIndex, Date x) throws SQLException {
    DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    this.parameters.put(parameterIndex, "'" + dateFormat.format(x) + "'");
  }
save the SQL parameters as (paramLoc,paramValue) pairs.
iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBPreparedStatement.java