public class RemoteFileToHadoopTasklet
extends java.lang.Object
implements org.springframework.batch.core.step.tasklet.TaskletRemoteFileTemplate を使用してファイルを文字列として取得し、hdfs に書き込みます。| コンストラクターと説明 |
|---|
RemoteFileToHadoopTasklet(org.springframework.integration.file.remote.RemoteFileTemplate template, org.apache.hadoop.conf.Configuration configuration, java.lang.String hdfsDirectory) |
| 修飾子と型 | メソッドと説明 |
|---|---|
org.springframework.batch.repeat.RepeatStatus | execute(org.springframework.batch.core.StepContribution contribution, org.springframework.batch.core.scope.context.ChunkContext chunkContext) |
public RemoteFileToHadoopTasklet(org.springframework.integration.file.remote.RemoteFileTemplate template,
org.apache.hadoop.conf.Configuration configuration,
java.lang.String hdfsDirectory)public org.springframework.batch.repeat.RepeatStatus execute(org.springframework.batch.core.StepContribution contribution,
org.springframework.batch.core.scope.context.ChunkContext chunkContext)
throws java.lang.Exceptionorg.springframework.batch.core.step.tasklet.Tasklet の execute java.lang.Exception