public class JdbcDataflowJobExecutionDao extends Object implements DataflowJobExecutionDao
JdbcJobExecutionDao
but contains Spring Cloud Data Flow specific operations. This functionality might
be migrated to Spring Batch itself eventually.| Constructor and Description |
|---|
JdbcDataflowJobExecutionDao(DataSource dataSource,
String tablePrefix)
Initializes the JdbcDataflowJobExecutionDao.
|
| Modifier and Type | Method and Description |
|---|---|
int |
deleteBatchJobExecutionByJobExecutionIds(Set<Long> jobExecutionIds)
Delete the batch job execution records from the persistence store for
the provided job execution ids.
|
int |
deleteBatchJobExecutionContextByJobExecutionIds(Set<Long> jobExecutionIds)
Delete the batch job execution context records from the persistence store for
the provided job execution ids.
|
int |
deleteBatchJobExecutionParamsByJobExecutionIds(Set<Long> jobExecutionIds)
Delete the batch job execution parameter records from the persistence store for
the provided job execution ids.
|
int |
deleteBatchStepExecutionContextByStepExecutionIds(Set<Long> stepExecutionIds)
Delete the batch step execution context records from the persistence store for
the provided step execution ids.
|
int |
deleteBatchStepExecutionsByJobExecutionIds(Set<Long> jobExecutionIds) |
int |
deleteUnusedBatchJobInstances()
Will delete any unused job instance records from the persistence store.
|
Set<Long> |
findStepExecutionIds(Set<Long> jobExecutionIds)
Retrieve the step execution ids for 1 or more job execution ids.
|
public JdbcDataflowJobExecutionDao(DataSource dataSource, String tablePrefix)
dataSource - used by the dao to execute queries and update the tables. Must not be null.tablePrefix - Must not be null or empty.public int deleteBatchStepExecutionContextByStepExecutionIds(Set<Long> stepExecutionIds)
DataflowJobExecutionDaodeleteBatchStepExecutionContextByStepExecutionIds in interface DataflowJobExecutionDaostepExecutionIds - Must contain at least 1 valuepublic int deleteBatchStepExecutionsByJobExecutionIds(Set<Long> jobExecutionIds)
deleteBatchStepExecutionsByJobExecutionIds in interface DataflowJobExecutionDaojobExecutionIds - Must contain at least 1 valuepublic int deleteBatchJobExecutionContextByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDaodeleteBatchJobExecutionContextByJobExecutionIds in interface DataflowJobExecutionDaojobExecutionIds - Must contain at least 1 valuepublic int deleteBatchJobExecutionParamsByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDaodeleteBatchJobExecutionParamsByJobExecutionIds in interface DataflowJobExecutionDaojobExecutionIds - Must contain at least 1 valuepublic int deleteBatchJobExecutionByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDaodeleteBatchJobExecutionByJobExecutionIds in interface DataflowJobExecutionDaojobExecutionIds - Must contain at least 1 valuepublic int deleteUnusedBatchJobInstances()
DataflowJobExecutionDaodeleteUnusedBatchJobInstances in interface DataflowJobExecutionDaopublic Set<Long> findStepExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDaofindStepExecutionIds in interface DataflowJobExecutionDaojobExecutionIds - Must contain at least 1 valueCopyright © 2020 Pivotal Software, Inc.. All rights reserved.