@EnableTask @EnableBatchProcessing @Configuration @EnableConfigurationProperties(value=JdbcHdfsTaskProperties.class) @Import(value=JdbcHdfsDataSourceConfiguration.class) public class JdbcHdfsConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
DataSource |
jdbcHdfsDataSource |
org.springframework.batch.core.configuration.annotation.JobBuilderFactory |
jobBuilderFactory |
org.springframework.batch.core.repository.JobRepository |
jobRepository |
static String[] |
PROMOTION_LISTENER_KEYS |
org.springframework.batch.core.configuration.annotation.StepBuilderFactory |
stepBuilderFactory |
DataSource |
taskDataSource |
| Constructor and Description |
|---|
JdbcHdfsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.core.configuration.annotation.DefaultBatchConfigurer |
batchConfigurer() |
org.springframework.batch.core.explore.support.JobExplorerFactoryBean |
jobExplorer() |
NamedColumnJdbcItemReader |
namedColumnJdbcItemReader(String partClause) |
org.springframework.batch.core.Job |
partitionedJob(org.springframework.batch.core.partition.PartitionHandler partitionHandler,
org.springframework.batch.core.listener.ExecutionContextPromotionListener promotionListener,
IncrementalColumnRangePartitioner partitioner) |
IncrementalColumnRangePartitioner |
partitioner(org.springframework.batch.core.explore.JobExplorer jobExplorer,
Long overrideValue) |
org.springframework.cloud.task.batch.partition.DeployerPartitionHandler |
partitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher,
org.springframework.batch.core.explore.JobExplorer jobExplorer) |
org.springframework.batch.core.listener.ExecutionContextPromotionListener |
promotionListener() |
org.springframework.batch.core.Step |
step1(org.springframework.batch.core.partition.PartitionHandler partitionHandler,
org.springframework.batch.core.listener.ExecutionContextPromotionListener promotionListener,
IncrementalColumnRangePartitioner partitioner) |
org.springframework.cloud.task.batch.partition.DeployerStepExecutionHandler |
stepExecutionHandler(org.springframework.batch.core.explore.JobExplorer jobExplorer) |
org.springframework.cloud.task.batch.configuration.TaskBatchExecutionListenerFactoryBean |
taskBatchExecutionListener(org.springframework.cloud.task.configuration.TaskConfigurer taskConfigurer) |
org.springframework.cloud.task.configuration.DefaultTaskConfigurer |
taskConfigurer() |
org.springframework.cloud.task.repository.support.TaskRepositoryInitializer |
taskRepositoryInitializer() |
org.springframework.batch.core.Step |
workerStep() |
HdfsTextItemWriter |
writer(String suffix) |
public static final String[] PROMOTION_LISTENER_KEYS
@Autowired public org.springframework.batch.core.configuration.annotation.JobBuilderFactory jobBuilderFactory
@Autowired public org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory
@Autowired @Qualifier(value="taskDataSource") public DataSource taskDataSource
@Autowired @Qualifier(value="jdbchdfsDataSource") public DataSource jdbcHdfsDataSource
@Autowired public org.springframework.batch.core.repository.JobRepository jobRepository
@Bean @StepScope public NamedColumnJdbcItemReader namedColumnJdbcItemReader(@Value(value="#{stepExecutionContext[\'partClause\']}") String partClause) throws Exception
Exception@Bean public org.springframework.batch.core.explore.support.JobExplorerFactoryBean jobExplorer()
@Bean
@Profile(value="!worker")
public org.springframework.cloud.task.batch.partition.DeployerPartitionHandler partitionHandler(org.springframework.cloud.deployer.spi.task.TaskLauncher taskLauncher,
org.springframework.batch.core.explore.JobExplorer jobExplorer)
throws Exception
Exception@Bean @StepScope @Profile(value="!worker") public IncrementalColumnRangePartitioner partitioner(org.springframework.batch.core.explore.JobExplorer jobExplorer, @Value(value="#{stepExecutionContext[\'overrideCheckColumnValue\']}") Long overrideValue)
@Bean @Profile(value="worker") public org.springframework.cloud.task.batch.partition.DeployerStepExecutionHandler stepExecutionHandler(org.springframework.batch.core.explore.JobExplorer jobExplorer)
@Bean @StepScope public HdfsTextItemWriter writer(@Value(value="#{stepExecutionContext[\'partSuffix\']}") String suffix) throws Exception
Exception@Bean public org.springframework.batch.core.listener.ExecutionContextPromotionListener promotionListener()
@Bean
@Profile(value="!worker")
public org.springframework.batch.core.Step step1(org.springframework.batch.core.partition.PartitionHandler partitionHandler,
org.springframework.batch.core.listener.ExecutionContextPromotionListener promotionListener,
IncrementalColumnRangePartitioner partitioner)
throws Exception
Exception@Bean
public org.springframework.batch.core.Step workerStep()
throws Exception
Exception@Bean
@Profile(value="!worker")
public org.springframework.batch.core.Job partitionedJob(org.springframework.batch.core.partition.PartitionHandler partitionHandler,
org.springframework.batch.core.listener.ExecutionContextPromotionListener promotionListener,
IncrementalColumnRangePartitioner partitioner)
throws Exception
Exception@Bean public org.springframework.cloud.task.configuration.DefaultTaskConfigurer taskConfigurer()
@Bean public org.springframework.batch.core.configuration.annotation.DefaultBatchConfigurer batchConfigurer()
@Bean public org.springframework.cloud.task.repository.support.TaskRepositoryInitializer taskRepositoryInitializer()
@Bean public org.springframework.cloud.task.batch.configuration.TaskBatchExecutionListenerFactoryBean taskBatchExecutionListener(org.springframework.cloud.task.configuration.TaskConfigurer taskConfigurer)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.