@Test public void sqlJobTest() { Exception exception = null; try { SqlConfig config = SqlConfig.builder().sql(sql).jobName("sql_job_test").build(); SqlJob sqlJob = new SqlJob(config); sqlJob.start(); } catch (Exception e) { log.error("sqlJobTest error", e); exception = e; } assert exception == null; }
public SqlJob(SqlConfig sqlConfig) { this.sqlConfig = sqlConfig; }
SqlJob { public SqlJob(SqlConfig sqlConfig) { this.sqlConfig = sqlConfig; } }
SqlJob { public SqlJob(SqlConfig sqlConfig) { this.sqlConfig = sqlConfig; } SqlJob(SqlConfig sqlConfig); }
SqlJob { public SqlJob(SqlConfig sqlConfig) { this.sqlConfig = sqlConfig; } SqlJob(SqlConfig sqlConfig); JobExecutionResult start(); }
SqlJob { public SqlJob(SqlConfig sqlConfig) { this.sqlConfig = sqlConfig; } SqlJob(SqlConfig sqlConfig); JobExecutionResult start();  }