Package com.redis.riot
Class AbstractTransferCommand
- java.lang.Object
-
- com.redis.riot.HelpCommand
-
- com.redis.riot.AbstractRiotCommand
-
- com.redis.riot.AbstractTransferCommand
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
- Direct Known Subclasses:
AbstractExportCommand
,AbstractImportCommand
public abstract class AbstractTransferCommand extends AbstractRiotCommand
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.redis.riot.AbstractRiotCommand
AbstractRiotCommand.CleanupJobExecutionListener
-
-
Field Summary
Fields Modifier and Type Field Description protected TransferOptions
transferOptions
-
Constructor Summary
Constructors Constructor Description AbstractTransferCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.redis.spring.batch.support.ScanSizeEstimator.ScanSizeEstimatorBuilder
estimator()
protected com.redis.spring.batch.RedisItemReader.ItemReaderBuilder
reader(RedisOptions redisOptions)
protected <I,O>
RiotStepBuilder<I,O>riotStep(java.lang.String name, java.lang.String taskName)
protected com.redis.spring.batch.RedisItemWriter.OperationItemWriterBuilder<java.lang.String,java.lang.String>
writer(RedisOptions redisOptions)
-
Methods inherited from class com.redis.riot.AbstractRiotCommand
call, configureJob, configureJobRepository, execute, flow, flow, getJobRunner, getRedisOptions, setApp, step
-
-
-
-
Field Detail
-
transferOptions
protected TransferOptions transferOptions
-
-
Method Detail
-
riotStep
protected <I,O> RiotStepBuilder<I,O> riotStep(java.lang.String name, java.lang.String taskName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
reader
protected com.redis.spring.batch.RedisItemReader.ItemReaderBuilder reader(RedisOptions redisOptions)
-
writer
protected com.redis.spring.batch.RedisItemWriter.OperationItemWriterBuilder<java.lang.String,java.lang.String> writer(RedisOptions redisOptions)
-
estimator
protected com.redis.spring.batch.support.ScanSizeEstimator.ScanSizeEstimatorBuilder estimator()
-
-