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)
DataflowJobExecutionDao
deleteBatchStepExecutionContextByStepExecutionIds
in interface DataflowJobExecutionDao
stepExecutionIds
- Must contain at least 1 valuepublic int deleteBatchStepExecutionsByJobExecutionIds(Set<Long> jobExecutionIds)
deleteBatchStepExecutionsByJobExecutionIds
in interface DataflowJobExecutionDao
jobExecutionIds
- Must contain at least 1 valuepublic int deleteBatchJobExecutionContextByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDao
deleteBatchJobExecutionContextByJobExecutionIds
in interface DataflowJobExecutionDao
jobExecutionIds
- Must contain at least 1 valuepublic int deleteBatchJobExecutionParamsByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDao
deleteBatchJobExecutionParamsByJobExecutionIds
in interface DataflowJobExecutionDao
jobExecutionIds
- Must contain at least 1 valuepublic int deleteBatchJobExecutionByJobExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDao
deleteBatchJobExecutionByJobExecutionIds
in interface DataflowJobExecutionDao
jobExecutionIds
- Must contain at least 1 valuepublic int deleteUnusedBatchJobInstances()
DataflowJobExecutionDao
deleteUnusedBatchJobInstances
in interface DataflowJobExecutionDao
public Set<Long> findStepExecutionIds(Set<Long> jobExecutionIds)
DataflowJobExecutionDao
findStepExecutionIds
in interface DataflowJobExecutionDao
jobExecutionIds
- Must contain at least 1 valueCopyright © 2024 Pivotal Software, Inc.. All rights reserved.