Package com.redis.riot
Class AbstractExportCommand<O>
- java.lang.Object
-
- com.redis.riot.HelpCommand
-
- com.redis.riot.AbstractRiotCommand
-
- com.redis.riot.AbstractTransferCommand
-
- com.redis.riot.AbstractExportCommand<O>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
,org.springframework.batch.core.JobExecutionListener
public abstract class AbstractExportCommand<O> extends AbstractTransferCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.redis.riot.AbstractRiotCommand
AbstractRiotCommand.ExecutionStrategy
-
-
Field Summary
-
Fields inherited from class com.redis.riot.AbstractTransferCommand
transferOptions
-
-
Constructor Summary
Constructors Constructor Description AbstractExportCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.batch.item.redis.DataStructureItemReader
reader()
protected <S,T>
RiotStepBuilder<S,T>riotStep(org.springframework.batch.core.step.builder.StepBuilder stepBuilder, java.lang.String taskName)
protected org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder<org.springframework.batch.core.step.builder.SimpleStepBuilder<org.springframework.batch.item.redis.support.DataStructure,O>>
step(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory, org.springframework.batch.item.ItemProcessor<org.springframework.batch.item.redis.support.DataStructure,O> processor, org.springframework.batch.item.ItemWriter<O> writer)
-
Methods inherited from class com.redis.riot.AbstractRiotCommand
afterJob, beforeJob, call, execute, flow, flow, flow, getRedisOptions, name
-
-
-
-
Method Detail
-
step
protected org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder<org.springframework.batch.core.step.builder.SimpleStepBuilder<org.springframework.batch.item.redis.support.DataStructure,O>> step(org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory, org.springframework.batch.item.ItemProcessor<org.springframework.batch.item.redis.support.DataStructure,O> processor, org.springframework.batch.item.ItemWriter<O> writer) throws java.lang.Exception
- Throws:
java.lang.Exception
-
reader
protected final org.springframework.batch.item.redis.DataStructureItemReader reader()
-
riotStep
protected <S,T> RiotStepBuilder<S,T> riotStep(org.springframework.batch.core.step.builder.StepBuilder stepBuilder, java.lang.String taskName)
- Overrides:
riotStep
in classAbstractTransferCommand
-
-