diff --git a/api/allclasses-index.html b/api/allclasses-index.html index 57ec68480..de509c885 100644 --- a/api/allclasses-index.html +++ b/api/allclasses-index.html @@ -1,797 +1,436 @@ -
CommandLine.IVersionProvider
/META-INF/MANIFEST.MF
ItemReader
DelimitedLineAggregator
FormatterLineAggregator
JsonResourceItemWriter
Map
WritableByteChannel
ItemStreamReader
Resource
XmlResourceItemWriter
Runnable
DatabaseExportCommand
FileDumpExportCommand
ReplicateCommand
parent
AbstractExportCommand()
protected abstract AbstractExport
exportRunnable()
protected Supplier<String>
extraMessageSupplier(RiotStep<?,?> step)
protected Callable<Long>
initialMaxSupplier(RiotStep<?,?> step)
protected AbstractJobRunnable
jobRunnable()
runnable()
void
setName(String name)
setProgressStyle(com.redis.riot.cli.AbstractJobCommand.ProgressStyle style)
protected String
taskName(RiotStep<?,?> step)
run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
runnable
AbstractSubCommand
DatabaseImportCommand
FakerImportCommand
FileImportCommand
AbstractImportCommand()
List<RedisCommand>
getCommands()
protected abstract AbstractImport
importRunnable()
protected AbstractImport
protected List<com.redis.spring.batch.common.Operation<String,String,Map<String,Object>,Object>>
operations()
setCommands(List<RedisCommand> commands)
Main
AbstractMainCommand()
run()
static int
run(AbstractMainCommand cmd, + PrintWriter out, + PrintWriter err, + String[] args, + picocli.CommandLine.IExecutionStrategy... executionStrategies)
run(AbstractMainCommand cmd, + String... args)
picocli.CommandLine.IVersionProvider
ManifestVersionProvider
AbstractManifestVersionProvider()
protected abstract String
getImplementationTitle()
String
getVersionString()
getVersion
FileDumpImportCommand
GenerateCommand
AbstractStructImportCommand()
protected abstract AbstractStructImport
protected AbstractStructImport
AbstractExportCommand
AbstractImportCommand
AbstractStructImportCommand
PingCommand
protected AbstractMainCommand
AbstractSubCommand()
protected abstract AbstractRunnable
AbstractMainCommand
DelCommand
ExpireCommand
GeoaddCommand
HsetCommand
JsonSetCommand
LpushCommand
RpushCommand
SaddCommand
SetCommand
SugaddCommand
TsAddCommand
XaddCommand
ZaddCommand
BaseCommand()
picocli.CommandLine.IExecutionStrategy
CompositeExecutionStrategy()
addDelegates(picocli.CommandLine.IExecutionStrategy... executionStrategies)
int
execute(picocli.CommandLine.ParseResult parseResult)
setDelegates(List<picocli.CommandLine.IExecutionStrategy> delegates)
execute
picocli.CommandLine.ExecutionException
picocli.CommandLine.ParameterException
DatabaseExportArgs
DatabaseImportArgs
DatabaseArgs()
DataSourceOptions
dataSourceOptions()
DatabaseExportArgs()
dataSourceOptions
DatabaseExportCommand()
protected DatabaseExport
initialMaxSupplier, jobRunnable
exportRunnable
DatabaseImportArgs()
DatabaseImportCommand()
getCommands, jobRunnable, operations, setCommands, taskName
importRunnable
java.util.concurrent.Callable<java.lang.Integer>
public class DbExport -extends AbstractExportCommand
readerOptions
jobOptions
DbExport()
DbExportOptions
getDbExportOptions()
java.lang.String
getSql()
protected org.springframework.batch.core.Job
job(CommandContext context)
setDbExportOptions(DbExportOptions exportOptions)
setSql(java.lang.String sql)
toString()
configure, getReaderOptions, reader, setReaderOptions
call, commandName, context, getJobOptions, getJobRepository, getRedisOptions, job, job, setCommandName, setCommandSpec, setJobOptions, setRiot, step, stepBuilderFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public DbExport()
public DbExportOptions getDbExportOptions()
public void setDbExportOptions(DbExportOptions exportOptions)
public java.lang.String getSql()
public void setSql(java.lang.String sql)
protected org.springframework.batch.core.Job job(CommandContext context)
job
AbstractCommand
public java.lang.String toString()
toString
public class DbImport -extends AbstractOperationImportCommand
processorOptions
writerOptions
DbImport()
configure(org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder<java.util.Map<java.lang.String,java.lang.Object>> builder)
DbImportOptions
getDbImportOptions()
setDbImportOptions(DbImportOptions options)
getProcessorOptions, getRedisCommands, setProcessorOptions, setRedisCommands, step
configure, getWriterOptions, setWriterOptions
public DbImport()
public DbImportOptions getDbImportOptions()
public void setDbImportOptions(DbImportOptions options)
public void configure(org.springframework.batch.item.database.builder.JdbcCursorItemReaderBuilder<java.util.Map<java.lang.String,java.lang.Object>> builder)
java.lang.Object
public class DumpImport -extends AbstractStructImportCommand
protected java.util.List<java.lang.String>
files
structOptions
DumpImport()
DumpOptions
getDumpOptions()
FileOptions
getFileOptions()
java.util.List<java.lang.String>
getFiles()
protected org.springframework.batch.item.ItemReader<com.redis.spring.batch.common.KeyValue<java.lang.String>>
reader(org.springframework.core.io.Resource resource)
setDumpOptions(DumpOptions dumpFileOptions)
setFileOptions(FileOptions options)
setFiles(java.util.List<java.lang.String> files)
org.springframework.batch.core.step.builder.SimpleStepBuilder<com.redis.spring.batch.common.KeyValue<java.lang.String>,com.redis.spring.batch.common.KeyValue<java.lang.String>>
step(CommandContext context, - org.springframework.core.io.Resource resource)
writer
protected java.util.List<java.lang.String> files
public DumpImport()
public java.util.List<java.lang.String> getFiles()
public void setFiles(java.util.List<java.lang.String> files)
public DumpOptions getDumpOptions()
public void setDumpOptions(DumpOptions dumpFileOptions)
public FileOptions getFileOptions()
public void setFileOptions(FileOptions options)
public org.springframework.batch.core.step.builder.SimpleStepBuilder<com.redis.spring.batch.common.KeyValue<java.lang.String>,com.redis.spring.batch.common.KeyValue<java.lang.String>> step(CommandContext context, - org.springframework.core.io.Resource resource)
protected org.springframework.batch.item.ItemReader<com.redis.spring.batch.common.KeyValue<java.lang.String>> reader(org.springframework.core.io.Resource resource)
EvaluationContextArgs()
public class FakerImport -extends AbstractOperationImportCommand
FakerImport()
FakerImportOptions
getFakerImportOptions()
setFakerImportOptions(FakerImportOptions options)
public FakerImport()
public FakerImportOptions getFakerImportOptions()
public void setFakerImportOptions(FakerImportOptions options)
FakerImportCommand()
protected FakerImport
FileDumpExportArgs
FileDumpImportArgs
FileImportArgs
FileArgs()
fileOptions()
FileDumpExportArgs()
fileOptions
FileDumpExportCommand()
protected FileDumpExport
FileDumpImportArgs()
FileDumpImportCommand()
protected FileDumpImport
jobRunnable
public class FileExport -extends AbstractExportCommand
FileExport()
getFile()
FileExportOptions
getFileExportOptions()
setFile(java.lang.String file)
setFileExportOptions(FileExportOptions options)
public FileExport()
public java.lang.String getFile()
public void setFile(java.lang.String file)
public FileExportOptions getFileExportOptions()
public void setFileExportOptions(FileExportOptions options)
public static class FileImport.Builder -extends java.lang.Object
Builder()
FileImport
build()
FileImport.Builder
fileOptions(FileOptions options)
fileType(FileType type)
fileType(java.util.Optional<FileType> type)
flatFileOptions(FlatFileOptions options)
public Builder()
public FileImport.Builder flatFileOptions(FlatFileOptions options)
public FileImport.Builder fileOptions(FileOptions options)
public FileImport.Builder fileType(FileType type)
public FileImport.Builder fileType(java.util.Optional<FileType> type)
public FileImport build()
public class FileImport -extends AbstractOperationImportCommand
static class
FileImport()
static FileImport.Builder
builder()
static java.lang.String
delimiter(FileExtension extension)
java.util.Optional<FileType>
getFileType()
FlatFileOptions
getFlatFileOptions()
java.util.Iterator<java.util.Map<java.lang.String,java.lang.Object>>
read(java.lang.String file)
java.util.stream.Stream<org.springframework.batch.item.ItemReader<java.util.Map<java.lang.String,java.lang.Object>>>
readers(java.lang.String... files)
setFileType(FileType fileType)
setFlatFileOptions(FlatFileOptions options)
static FileType
type(org.springframework.core.io.Resource resource)
public FileImport()
public java.util.Optional<FileType> getFileType()
public void setFileType(FileType fileType)
public FlatFileOptions getFlatFileOptions()
public void setFlatFileOptions(FlatFileOptions options)
public static FileType type(org.springframework.core.io.Resource resource)
public static java.lang.String delimiter(FileExtension extension)
public static FileImport.Builder builder()
public java.util.stream.Stream<org.springframework.batch.item.ItemReader<java.util.Map<java.lang.String,java.lang.Object>>> readers(java.lang.String... files)
java.io.IOException
public java.util.Iterator<java.util.Map<java.lang.String,java.lang.Object>> read(java.lang.String file) - throws java.lang.Exception
file
java.lang.Exception
FileImportArgs()
FileImportCommand()
public class Generate -extends AbstractStructImportCommand
Generate()
GenerateOptions
getGenerateOptions()
setGenerateOptions(GenerateOptions options)
public Generate()
public GenerateOptions getGenerateOptions()
public void setGenerateOptions(GenerateOptions options)
GenerateCommand()
protected GeneratorImport
KeyFilterArgs()
KeyFilterOptions
keyFilterOptions()
KeyValueProcessorArgs()
ExportProcessorOptions
processorOptions()
LoggingMixin()
configureLogging()
executionStrategy(picocli.CommandLine.ParseResult parseResult)
setDateTimeFormat(String format)
setDebug(boolean debug)
setError(boolean error)
setInfo(boolean info)
setLevelInBrackets(boolean enable)
setLogFile(String file)
setLogLevels(Map<String,org.slf4j.event.Level> levels)
setShowDateTime(boolean show)
setShowLogName(boolean show)
setShowShortLogName(boolean show)
setShowThreadId(boolean show)
setShowThreadName(boolean show)
setWarn(boolean warn)
public class Main -extends java.lang.Object
Main()
static picocli.CommandLine
commandLine()
execute(java.lang.String... args)
LoggingOptions
getLoggingOptions()
RedisOptions
getRedisOptions()
static void
main(java.lang.String[] args)
protected void
registerConverters(picocli.CommandLine commandLine)
main(String[] args)
run, run, run
public Main()
public static void main(java.lang.String[] args)
public RedisOptions getRedisOptions()
public LoggingOptions getLoggingOptions()
public int execute(java.lang.String... args)
public static picocli.CommandLine commandLine()
protected void registerConverters(picocli.CommandLine commandLine)
ManifestVersionProvider()
String[]
getVersion()
getVersionString
getImplementationTitle
AbstractManifestVersionProvider
Exception
public class Ping -extends AbstractCommand
Ping()
PingOptions
getPingOptions()
setPingOptions(PingOptions pingOptions)
public Ping()
public PingOptions getPingOptions()
public void setPingOptions(PingOptions pingOptions)
PingCommand()
protected Ping
org.springframework.batch.core.ItemProcessListener
org.springframework.batch.core.ItemReadListener
org.springframework.batch.core.ItemWriteListener
org.springframework.batch.core.StepExecutionListener
org.springframework.batch.core.StepListener
static final String
EMPTY_STRING
static final long
UNKNOWN_SIZE
ProgressStepExecutionListener(me.tongfei.progressbar.ProgressBarBuilder builder)
org.springframework.batch.core.ExitStatus
afterStep(org.springframework.batch.core.StepExecution stepExecution)
afterWrite(org.springframework.batch.item.Chunk items)
beforeStep(org.springframework.batch.core.StepExecution stepExecution)
onWriteError(Exception exception, + org.springframework.batch.item.Chunk items)
setExtraMessageSupplier(Supplier<String> supplier)
setInitialMaxSupplier(Callable<Long> supplier)
afterProcess, beforeProcess, onProcessError
afterRead, beforeRead, onReadError
beforeWrite
beforeStep
afterStep
afterWrite
onWriteError
RedisArgs()
RedisClientOptions
redisOptions()
com.redis.spring.batch.common.Operation<String,String,Map<String,Object>,Object>
operation()
Serializable
Comparable<RedisReaderArgs.ReadFromEnum>
Constable
Enum.EnumDesc<E extends Enum<E>>
ANY
ANY_REPLICA
LOWEST_LATENCY
MASTER
MASTER_PREFERRED
REPLICA
REPLICA_PREFERRED
UPSTREAM
UPSTREAM_PREFERRED
io.lettuce.core.ReadFrom
getReadFrom()
static RedisReaderArgs.ReadFromEnum
valueOf(String name)
static RedisReaderArgs.ReadFromEnum[]
values()
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, wait, wait, wait
name
IllegalArgumentException
NullPointerException
static enum
RedisReaderArgs.ReadFromEnum
RedisReaderArgs()
RedisReaderOptions
readerOptions()
setIdleTimeout(long timeout)
setNotificationQueueCapacity(int capacity)
RedisWriterArgs()
RedisWriterOptions
writerOptions()
public class Replicate -extends AbstractExportCommand
Replicate()
protected CommandContext
context(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient redisClient)
ReplicateOptions
getReplicateOptions()
getTargetRedisOptions()
getWriterOptions()
setReplicateOptions(ReplicateOptions replicationOptions)
setTargetRedisOptions(RedisOptions targetRedisOptions)
setWriterOptions(RedisWriterOptions writerOptions)
call, commandName, getJobOptions, getJobRepository, getRedisOptions, job, job, setCommandName, setCommandSpec, setJobOptions, setRiot, step, stepBuilderFactory
public Replicate()
public RedisOptions getTargetRedisOptions()
public void setTargetRedisOptions(RedisOptions targetRedisOptions)
protected CommandContext context(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient redisClient)
context
public ReplicateOptions getReplicateOptions()
public void setReplicateOptions(ReplicateOptions replicationOptions)
public RedisWriterOptions getWriterOptions()
public void setWriterOptions(RedisWriterOptions writerOptions)
ReplicateCommand()
protected AbstractExport
class
setRiot(Main riot)
Ping
public abstract class AbstractCommand -extends java.lang.Object -implements java.util.concurrent.Callable<java.lang.Integer>
protected JobOptions
AbstractCommand()
java.lang.Integer
call()
protected java.lang.String
commandName()
JobOptions
getJobOptions()
protected org.springframework.batch.core.repository.JobRepository
getJobRepository()
protected RedisOptions
protected abstract org.springframework.batch.core.Job
protected <I,O>org.springframework.batch.core.Job
job(RiotStep<I,O> step)
protected org.springframework.batch.core.job.builder.JobBuilder
job(java.lang.String name)
setCommandName(java.lang.String commandName)
setCommandSpec(picocli.CommandLine.Model.CommandSpec commandSpec)
setJobOptions(JobOptions options)
protected <I,O>RiotStep<I,O>
step(org.springframework.batch.item.ItemReader<I> reader, - org.springframework.batch.item.ItemWriter<O> writer)
protected org.springframework.batch.core.configuration.annotation.StepBuilderFactory
stepBuilderFactory()
protected JobOptions jobOptions
public AbstractCommand()
protected org.springframework.batch.core.repository.JobRepository getJobRepository()
protected org.springframework.batch.core.configuration.annotation.StepBuilderFactory stepBuilderFactory()
public void setCommandName(java.lang.String commandName)
protected java.lang.String commandName()
public void setRiot(Main riot)
public void setCommandSpec(picocli.CommandLine.Model.CommandSpec commandSpec)
protected RedisOptions getRedisOptions()
public java.lang.Integer call() - throws java.lang.Exception
call
protected abstract org.springframework.batch.core.Job job(CommandContext context)
protected <I,O> org.springframework.batch.core.Job job(RiotStep<I,O> step)
protected org.springframework.batch.core.job.builder.JobBuilder job(java.lang.String name)
public JobOptions getJobOptions()
public void setJobOptions(JobOptions options)
protected <I,O> RiotStep<I,O> step(org.springframework.batch.item.ItemReader<I> reader, - org.springframework.batch.item.ItemWriter<O> writer)
DbExport
FileExport
Replicate
public abstract class AbstractExportCommand -extends AbstractCommand
protected RedisReaderOptions
protected <K,V,B extends com.redis.spring.batch.RedisItemReader.BaseBuilder<K,V,B>>B
configure(B builder, - io.lettuce.core.codec.RedisCodec<K,V> codec)
getReaderOptions()
protected <K,V>com.redis.spring.batch.RedisItemReader.Builder<K,V>
reader(CommandContext context, - io.lettuce.core.codec.RedisCodec<K,V> codec)
setReaderOptions(RedisReaderOptions readerOptions)
call, commandName, context, getJobOptions, getJobRepository, getRedisOptions, job, job, job, setCommandName, setCommandSpec, setJobOptions, setRiot, step, stepBuilderFactory
protected RedisReaderOptions readerOptions
public AbstractExportCommand()
public RedisReaderOptions getReaderOptions()
public void setReaderOptions(RedisReaderOptions readerOptions)
protected <K,V> com.redis.spring.batch.RedisItemReader.Builder<K,V> reader(CommandContext context, - io.lettuce.core.codec.RedisCodec<K,V> codec)
protected <K,V,B extends com.redis.spring.batch.RedisItemReader.BaseBuilder<K,V,B>> B configure(B builder, - io.lettuce.core.codec.RedisCodec<K,V> codec)
AbstractOperationImportCommand
public abstract class AbstractImportCommand -extends AbstractCommand
protected RedisWriterOptions
protected <B extends com.redis.spring.batch.RedisItemWriter.BaseBuilder<?,?,B>>B
configure(B builder)
protected RedisWriterOptions writerOptions
public AbstractImportCommand()
protected <B extends com.redis.spring.batch.RedisItemWriter.BaseBuilder<?,?,B>> B configure(B builder)
DbImport
FakerImport
public abstract class AbstractOperationImportCommand -extends AbstractImportCommand
protected MapProcessorOptions
AbstractOperationImportCommand()
MapProcessorOptions
getProcessorOptions()
java.util.List<OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>>
getRedisCommands()
setProcessorOptions(MapProcessorOptions processorOptions)
setRedisCommands(java.util.List<OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>> redisCommands)
protected RiotStep<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
step(CommandContext context, - org.springframework.batch.item.ItemReader<java.util.Map<java.lang.String,java.lang.Object>> reader)
protected MapProcessorOptions processorOptions
public AbstractOperationImportCommand()
public java.util.List<OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>> getRedisCommands()
public void setRedisCommands(java.util.List<OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>> redisCommands)
public MapProcessorOptions getProcessorOptions()
public void setProcessorOptions(MapProcessorOptions processorOptions)
protected RiotStep<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>> step(CommandContext context, - org.springframework.batch.item.ItemReader<java.util.Map<java.lang.String,java.lang.Object>> reader)
DumpImport
Generate
public abstract class AbstractStructImportCommand -extends AbstractImportCommand
protected RedisStructOptions
protected com.redis.spring.batch.RedisItemWriter<java.lang.String,java.lang.String>
writer(CommandContext context)
protected RedisStructOptions structOptions
public AbstractStructImportCommand()
protected com.redis.spring.batch.RedisItemWriter<java.lang.String,java.lang.String> writer(CommandContext context)
java.lang.AutoCloseable
ReplicateCommandContext
public class CommandContext -extends java.lang.Object -implements java.lang.AutoCloseable
CommandContext(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient client)
close()
io.lettuce.core.AbstractRedisClient
getRedisClient()
io.lettuce.core.RedisURI
getRedisURI()
public CommandContext(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient client)
public io.lettuce.core.AbstractRedisClient getRedisClient()
public io.lettuce.core.RedisURI getRedisURI()
public void close() - throws java.lang.Exception
close
public class DataSourceOptions -extends java.lang.Object
DataSourceOptions()
getDriver()
getPassword()
getUrl()
getUsername()
setDriver(java.lang.String driver)
setPassword(java.lang.String password)
setUrl(java.lang.String url)
setUsername(java.lang.String username)
public DataSourceOptions()
public java.lang.String getDriver()
public void setDriver(java.lang.String driver)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public interface DatabaseHelper
static javax.sql.DataSource
dataSource(DataSourceOptions options)
static javax.sql.DataSource dataSource(DataSourceOptions options)
public class DbExportOptions -extends java.lang.Object
static boolean
DEFAULT_ASSERT_UPDATES
DEFAULT_KEY_REGEX
DbExportOptions()
getDataSourceOptions()
getKeyRegex()
boolean
isAssertUpdates()
setAssertUpdates(boolean assertUpdates)
setDataSourceOptions(DataSourceOptions dataSourceOptions)
setKeyRegex(java.lang.String keyRegex)
public static final boolean DEFAULT_ASSERT_UPDATES
public static final java.lang.String DEFAULT_KEY_REGEX
public DbExportOptions()
public DataSourceOptions getDataSourceOptions()
public void setDataSourceOptions(DataSourceOptions dataSourceOptions)
public boolean isAssertUpdates()
public void setAssertUpdates(boolean assertUpdates)
public java.lang.String getKeyRegex()
public void setKeyRegex(java.lang.String keyRegex)
public class DbImportOptions -extends java.lang.Object
DEFAULT_FETCH_SIZE
DEFAULT_MAX_RESULT_SET_ROWS
DEFAULT_QUERY_TIMEOUT
DbImportOptions()
getFetchSize()
getMaxItemCount()
getMaxResultSetRows()
getQueryTimeout()
isUseSharedExtendedConnection()
isVerifyCursorPosition()
setFetchSize(int fetchSize)
setMaxItemCount(int maxItemCount)
setMaxResultSetRows(int rows)
setQueryTimeout(int queryTimeout)
setUseSharedExtendedConnection(boolean useSharedExtendedConnection)
setVerifyCursorPosition(boolean verifyCursorPosition)
public static final int DEFAULT_FETCH_SIZE
public static final int DEFAULT_MAX_RESULT_SET_ROWS
public static final int DEFAULT_QUERY_TIMEOUT
public DbImportOptions()
public int getMaxItemCount()
public int getFetchSize()
public int getMaxResultSetRows()
public int getQueryTimeout()
public boolean isUseSharedExtendedConnection()
public boolean isVerifyCursorPosition()
public void setMaxItemCount(int maxItemCount)
public void setFetchSize(int fetchSize)
public void setMaxResultSetRows(int rows)
public void setQueryTimeout(int queryTimeout)
public void setUseSharedExtendedConnection(boolean useSharedExtendedConnection)
public void setVerifyCursorPosition(boolean verifyCursorPosition)
picocli.CommandLine.ITypeConverter<com.redis.spring.batch.common.DoubleRange>
public class DoubleRangeTypeConverter -extends java.lang.Object -implements picocli.CommandLine.ITypeConverter<com.redis.spring.batch.common.DoubleRange>
DoubleRangeTypeConverter()
com.redis.spring.batch.common.DoubleRange
convert(java.lang.String value)
public DoubleRangeTypeConverter()
public com.redis.spring.batch.common.DoubleRange convert(java.lang.String value)
convert
public class FakerImportOptions -extends java.lang.Object
DEFAULT_COUNT
DEFAULT_INCLUDE_METADATA
static java.util.Locale
DEFAULT_LOCALE
FakerImportOptions()
getCount()
java.util.Map<java.lang.String,java.lang.String>
getFields()
com.redis.spring.batch.common.IntRange
getIndexRange()
java.util.Locale
getLocale()
java.util.Optional<java.lang.String>
getRedisearchIndex()
isIncludeMetadata()
setCount(int count)
setFields(java.util.Map<java.lang.String,java.lang.String> fields)
setIncludeMetadata(boolean includeMetadata)
setIndexRange(com.redis.spring.batch.common.IntRange indexRange)
setLocale(java.util.Locale locale)
setRedisearchIndex(java.util.Optional<java.lang.String> redisearchIndex)
public static final int DEFAULT_COUNT
public static final java.util.Locale DEFAULT_LOCALE
public static final boolean DEFAULT_INCLUDE_METADATA
public FakerImportOptions()
public com.redis.spring.batch.common.IntRange getIndexRange()
public void setIndexRange(com.redis.spring.batch.common.IntRange indexRange)
public int getCount()
public void setCount(int count)
public java.util.Map<java.lang.String,java.lang.String> getFields()
public void setFields(java.util.Map<java.lang.String,java.lang.String> fields)
public java.util.Optional<java.lang.String> getRedisearchIndex()
public void setRedisearchIndex(java.util.Optional<java.lang.String> redisearchIndex)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public boolean isIncludeMetadata()
public void setIncludeMetadata(boolean includeMetadata)
public class GenerateOptions -extends java.lang.Object
static com.redis.spring.batch.common.IntRange
DEFAULT_KEY_RANGE
GenerateOptions()
java.util.Optional<com.redis.spring.batch.common.IntRange>
getExpiration()
getHashFieldSize()
getHashSize()
getJsonFieldSize()
getJsonSize()
getKeyRange()
getKeyspace()
getListSize()
getSetSize()
getStreamFieldCount()
getStreamFieldSize()
getStreamSize()
getStringSize()
getTimeseriesSize()
java.util.Optional<java.time.Instant>
getTimeseriesStartTime()
java.util.List<com.redis.spring.batch.reader.GeneratorItemReader.Type>
getTypes()
getZsetScore()
getZsetSize()
com.redis.spring.batch.reader.GeneratorItemReader.HashOptions
hashOptions()
com.redis.spring.batch.reader.GeneratorItemReader.JsonOptions
jsonOptions()
com.redis.spring.batch.reader.GeneratorItemReader.ListOptions
listOptions()
setExpiration(java.util.Optional<com.redis.spring.batch.common.IntRange> expiration)
setHashFieldSize(com.redis.spring.batch.common.IntRange hashFieldSize)
setHashSize(com.redis.spring.batch.common.IntRange hashSize)
setJsonFieldSize(com.redis.spring.batch.common.IntRange jsonFieldSize)
setJsonSize(com.redis.spring.batch.common.IntRange jsonSize)
setKeyRange(com.redis.spring.batch.common.IntRange keyRange)
setKeyspace(java.lang.String keyspace)
setListSize(com.redis.spring.batch.common.IntRange listSize)
com.redis.spring.batch.reader.GeneratorItemReader.SetOptions
setOptions()
setSetSize(com.redis.spring.batch.common.IntRange setSize)
setStreamFieldCount(com.redis.spring.batch.common.IntRange streamFieldCount)
setStreamFieldSize(com.redis.spring.batch.common.IntRange streamFieldSize)
setStreamSize(com.redis.spring.batch.common.IntRange streamSize)
setStringSize(com.redis.spring.batch.common.IntRange stringSize)
setTimeseriesSize(com.redis.spring.batch.common.IntRange timeseriesSize)
setTimeseriesStartTime(java.util.Optional<java.time.Instant> timeseriesStartTime)
setTypes(com.redis.spring.batch.reader.GeneratorItemReader.Type... types)
setTypes(java.util.List<com.redis.spring.batch.reader.GeneratorItemReader.Type> types)
setZsetScore(com.redis.spring.batch.common.DoubleRange zsetScore)
setZsetSize(com.redis.spring.batch.common.IntRange zsetSize)
com.redis.spring.batch.reader.GeneratorItemReader.StreamOptions
streamOptions()
com.redis.spring.batch.reader.GeneratorItemReader.StringOptions
stringOptions()
com.redis.spring.batch.reader.GeneratorItemReader.TimeSeriesOptions
timeSeriesOptions()
com.redis.spring.batch.reader.GeneratorItemReader.ZsetOptions
zsetOptions()
public static final com.redis.spring.batch.common.IntRange DEFAULT_KEY_RANGE
public GenerateOptions()
public com.redis.spring.batch.common.IntRange getKeyRange()
public void setKeyRange(com.redis.spring.batch.common.IntRange keyRange)
public java.lang.String getKeyspace()
public void setKeyspace(java.lang.String keyspace)
public java.util.List<com.redis.spring.batch.reader.GeneratorItemReader.Type> getTypes()
public void setTypes(com.redis.spring.batch.reader.GeneratorItemReader.Type... types)
public java.util.Optional<com.redis.spring.batch.common.IntRange> getExpiration()
public com.redis.spring.batch.common.IntRange getHashFieldSize()
public com.redis.spring.batch.common.IntRange getHashSize()
public com.redis.spring.batch.common.IntRange getJsonSize()
public com.redis.spring.batch.common.IntRange getJsonFieldSize()
public com.redis.spring.batch.common.IntRange getStringSize()
public void setStringSize(com.redis.spring.batch.common.IntRange stringSize)
public com.redis.spring.batch.common.DoubleRange getZsetScore()
public void setZsetScore(com.redis.spring.batch.common.DoubleRange zsetScore)
public com.redis.spring.batch.common.IntRange getStreamSize()
public com.redis.spring.batch.common.IntRange getStreamFieldCount()
public void setStreamFieldCount(com.redis.spring.batch.common.IntRange streamFieldCount)
public com.redis.spring.batch.common.IntRange getStreamFieldSize()
public void setStreamFieldSize(com.redis.spring.batch.common.IntRange streamFieldSize)
public void setHashSize(com.redis.spring.batch.common.IntRange hashSize)
public void setHashFieldSize(com.redis.spring.batch.common.IntRange hashFieldSize)
public void setJsonSize(com.redis.spring.batch.common.IntRange jsonSize)
public void setJsonFieldSize(com.redis.spring.batch.common.IntRange jsonFieldSize)
public void setStreamSize(com.redis.spring.batch.common.IntRange streamSize)
public com.redis.spring.batch.common.IntRange getSetSize()
public void setSetSize(com.redis.spring.batch.common.IntRange setSize)
public com.redis.spring.batch.common.IntRange getZsetSize()
public void setZsetSize(com.redis.spring.batch.common.IntRange zsetSize)
public com.redis.spring.batch.common.IntRange getListSize()
public void setListSize(com.redis.spring.batch.common.IntRange listSize)
public com.redis.spring.batch.common.IntRange getTimeseriesSize()
public void setTimeseriesSize(com.redis.spring.batch.common.IntRange timeseriesSize)
public java.util.Optional<java.time.Instant> getTimeseriesStartTime()
public void setTimeseriesStartTime(java.util.Optional<java.time.Instant> timeseriesStartTime)
public void setTypes(java.util.List<com.redis.spring.batch.reader.GeneratorItemReader.Type> types)
public void setExpiration(java.util.Optional<com.redis.spring.batch.common.IntRange> expiration)
public com.redis.spring.batch.reader.GeneratorItemReader.SetOptions setOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.ZsetOptions zsetOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.HashOptions hashOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.JsonOptions jsonOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.ListOptions listOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.StreamOptions streamOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.StringOptions stringOptions()
public com.redis.spring.batch.reader.GeneratorItemReader.TimeSeriesOptions timeSeriesOptions()
public final class HelpOptions -extends java.lang.Object
HelpOptions()
public HelpOptions()
picocli.CommandLine.ITypeConverter<com.redis.spring.batch.common.IntRange>
public class IntRangeTypeConverter -extends java.lang.Object -implements picocli.CommandLine.ITypeConverter<com.redis.spring.batch.common.IntRange>
IntRangeTypeConverter()
public IntRangeTypeConverter()
public com.redis.spring.batch.common.IntRange convert(java.lang.String value)
java.io.Serializable
java.lang.Comparable<JobOptions.ProgressStyle>
public static enum JobOptions.ProgressStyle -extends java.lang.Enum<JobOptions.ProgressStyle>
ASCII
BAR
BLOCK
LOG
NONE
static JobOptions.ProgressStyle
valueOf(java.lang.String name)
static JobOptions.ProgressStyle[]
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final JobOptions.ProgressStyle BLOCK
public static final JobOptions.ProgressStyle BAR
public static final JobOptions.ProgressStyle ASCII
public static final JobOptions.ProgressStyle LOG
public static final JobOptions.ProgressStyle NONE
public static JobOptions.ProgressStyle[] values()
-for (JobOptions.ProgressStyle c : JobOptions.ProgressStyle.values()) - System.out.println(c); -
public static JobOptions.ProgressStyle valueOf(java.lang.String name)
java.lang.IllegalArgumentException
java.lang.NullPointerException
public class JobOptions -extends java.lang.Object
JobOptions.ProgressStyle
DEFAULT_CHUNK_SIZE
DEFAULT_PROGRESS_STYLE
DEFAULT_PROGRESS_UPDATE_INTERVAL
DEFAULT_SKIP_LIMIT
static StepSkipPolicy
DEFAULT_SKIP_POLICY
DEFAULT_THREADS
JobOptions()
getChunkSize()
getProgressStyle()
getProgressUpdateInterval()
getSkipLimit()
StepSkipPolicy
getSkipPolicy()
long
getSleep()
getThreads()
setChunkSize(int chunkSize)
setProgressStyle(JobOptions.ProgressStyle style)
setProgressUpdateInterval(int millis)
setSkipLimit(int skipLimit)
setSkipPolicy(StepSkipPolicy skipPolicy)
setSleep(long sleep)
setThreads(int threads)
public static final StepSkipPolicy DEFAULT_SKIP_POLICY
public static final int DEFAULT_CHUNK_SIZE
public static final int DEFAULT_THREADS
public static final int DEFAULT_SKIP_LIMIT
public static final int DEFAULT_PROGRESS_UPDATE_INTERVAL
public static final JobOptions.ProgressStyle DEFAULT_PROGRESS_STYLE
public JobOptions()
public JobOptions.ProgressStyle getProgressStyle()
public int getProgressUpdateInterval()
public void setProgressStyle(JobOptions.ProgressStyle style)
public void setProgressUpdateInterval(int millis)
public long getSleep()
public void setSleep(long sleep)
public int getThreads()
public int getChunkSize()
public void setThreads(int threads)
public void setChunkSize(int chunkSize)
public void setSkipPolicy(StepSkipPolicy skipPolicy)
public void setSkipLimit(int skipLimit)
public StepSkipPolicy getSkipPolicy()
public int getSkipLimit()
public class LoggingOptions -extends java.lang.Object
static java.util.logging.Level
DEFAULT_LEVEL
DEFAULT_STACKTRACE
LoggingOptions()
configureLoggers()
executionStrategy(picocli.CommandLine.ParseResult parseResult)
java.util.logging.Level
getLevel()
setDebug(boolean debug)
setInfo(boolean info)
setQuiet(boolean quiet)
setStacktrace(boolean stacktrace)
setWarning(boolean warning)
public static final java.util.logging.Level DEFAULT_LEVEL
public static final boolean DEFAULT_STACKTRACE
public LoggingOptions()
public void setDebug(boolean debug)
public void setInfo(boolean info)
public void setQuiet(boolean quiet)
public void setWarning(boolean warning)
public void setStacktrace(boolean stacktrace)
public java.util.logging.Level getLevel()
public static int executionStrategy(picocli.CommandLine.ParseResult parseResult)
public void configureLoggers()
public class ManifestVersionProvider -extends java.lang.Object -implements picocli.CommandLine.IVersionProvider
java.lang.String[]
public ManifestVersionProvider()
public java.lang.String[] getVersion() - throws java.lang.Exception
public static java.lang.String getVersionString()
public class MapProcessorOptions -extends java.lang.Object
MapProcessorOptions()
defaultDateFormat()
getDateFormat()
getFilters()
getRegexes()
java.util.Map<java.lang.String,org.springframework.expression.Expression>
getSpelFields()
getVariables()
hasFilters()
hasRegexes()
hasSpelFields()
hasVariables()
setDateFormat(java.lang.String dateFormat)
setFilters(java.lang.String[] filters)
setRegexes(java.util.Map<java.lang.String,java.lang.String> regexes)
setSpelFields(java.util.Map<java.lang.String,org.springframework.expression.Expression> spelFields)
setVariables(java.util.Map<java.lang.String,org.springframework.expression.Expression> variables)
public MapProcessorOptions()
public java.util.Map<java.lang.String,org.springframework.expression.Expression> getSpelFields()
public static java.lang.String defaultDateFormat()
public void setSpelFields(java.util.Map<java.lang.String,org.springframework.expression.Expression> spelFields)
public java.util.Map<java.lang.String,org.springframework.expression.Expression> getVariables()
public void setVariables(java.util.Map<java.lang.String,org.springframework.expression.Expression> variables)
public java.lang.String getDateFormat()
public void setDateFormat(java.lang.String dateFormat)
public java.lang.String[] getFilters()
public void setFilters(java.lang.String[] filters)
public java.util.Map<java.lang.String,java.lang.String> getRegexes()
public void setRegexes(java.util.Map<java.lang.String,java.lang.String> regexes)
public boolean hasRegexes()
public boolean hasFilters()
public boolean hasVariables()
public boolean hasSpelFields()
org.springframework.batch.item.ItemWriter<T>
public class NoopItemWriter<T> -extends java.lang.Object -implements org.springframework.batch.item.ItemWriter<T>
NoopItemWriter()
write(java.util.List<? extends T> items)
public NoopItemWriter()
public void write(java.util.List<? extends T> items) - throws java.lang.Exception
write
public static final class PingOptions.Builder -extends java.lang.Object
PingOptions.Builder
count(int count)
iterations(int iterations)
latencyDistribution(boolean latencyDistribution)
percentiles(double... percentiles)
unit(java.util.concurrent.TimeUnit unit)
public PingOptions.Builder iterations(int iterations)
public PingOptions.Builder count(int count)
public PingOptions.Builder unit(java.util.concurrent.TimeUnit unit)
public PingOptions.Builder percentiles(double... percentiles)
public PingOptions.Builder latencyDistribution(boolean latencyDistribution)
public PingOptions build()
public class PingOptions -extends java.lang.Object
DEFAULT_ITERATIONS
static java.util.concurrent.TimeUnit
DEFAULT_TIME_UNIT
static PingOptions.Builder
static java.util.Set<java.lang.Double>
defaultPercentiles()
getIterations()
java.util.Set<java.lang.Double>
getPercentiles()
java.util.concurrent.TimeUnit
getTimeUnit()
isLatencyDistribution()
setIterations(int iterations)
setLatencyDistribution(boolean latencyDistribution)
setPercentiles(double... percentiles)
setPercentiles(java.util.Set<java.lang.Double> percentiles)
setTimeUnit(java.util.concurrent.TimeUnit unit)
public static final int DEFAULT_ITERATIONS
public static final java.util.concurrent.TimeUnit DEFAULT_TIME_UNIT
public static java.util.Set<java.lang.Double> defaultPercentiles()
public int getIterations()
public void setIterations(int iterations)
public java.util.concurrent.TimeUnit getTimeUnit()
public void setTimeUnit(java.util.concurrent.TimeUnit unit)
public boolean isLatencyDistribution()
public void setLatencyDistribution(boolean latencyDistribution)
public java.util.Set<java.lang.Double> getPercentiles()
public void setPercentiles(double... percentiles)
public void setPercentiles(java.util.Set<java.lang.Double> percentiles)
public static PingOptions.Builder builder()
org.springframework.batch.core.ItemWriteListener<T>
ProgressWithExtraMessageStepListener
public class ProgressStepListener<T> -extends java.lang.Object -implements org.springframework.batch.core.ItemWriteListener<T>, org.springframework.batch.core.StepExecutionListener
protected me.tongfei.progressbar.ProgressBar
progressBar
ProgressStepListener(me.tongfei.progressbar.ProgressBarBuilder progressBarBuilder)
afterStep(org.springframework.batch.core.StepExecution stepExecution)
afterWrite(java.util.List<? extends T> items)
beforeStep(org.springframework.batch.core.StepExecution stepExecution)
beforeWrite(java.util.List<? extends T> items)
onWriteError(java.lang.Exception exception, - java.util.List<? extends T> items)
protected me.tongfei.progressbar.ProgressBar progressBar
public ProgressStepListener(me.tongfei.progressbar.ProgressBarBuilder progressBarBuilder)
public void beforeStep(org.springframework.batch.core.StepExecution stepExecution)
public org.springframework.batch.core.ExitStatus afterStep(org.springframework.batch.core.StepExecution stepExecution)
public void afterWrite(java.util.List<? extends T> items)
public void beforeWrite(java.util.List<? extends T> items)
public void onWriteError(java.lang.Exception exception, - java.util.List<? extends T> items)
public class ProgressWithExtraMessageStepListener<T> -extends ProgressStepListener<T>
ProgressWithExtraMessageStepListener(me.tongfei.progressbar.ProgressBarBuilder progressBarBuilder, - java.util.function.Supplier<java.lang.String> extraMessage)
afterStep, beforeStep, beforeWrite, onWriteError
public ProgressWithExtraMessageStepListener(me.tongfei.progressbar.ProgressBarBuilder progressBarBuilder, - java.util.function.Supplier<java.lang.String> extraMessage)
ProgressStepListener<T>
java.lang.Comparable<ReadFromEnum>
public enum ReadFromEnum -extends java.lang.Enum<ReadFromEnum>
getValue()
static ReadFromEnum
static ReadFromEnum[]
public static final ReadFromEnum MASTER
public static final ReadFromEnum MASTER_PREFERRED
public static final ReadFromEnum UPSTREAM
public static final ReadFromEnum UPSTREAM_PREFERRED
public static final ReadFromEnum REPLICA_PREFERRED
public static final ReadFromEnum REPLICA
public static final ReadFromEnum LOWEST_LATENCY
public static final ReadFromEnum ANY
public static final ReadFromEnum ANY_REPLICA
public static ReadFromEnum[] values()
-for (ReadFromEnum c : ReadFromEnum.values()) - System.out.println(c); -
public static ReadFromEnum valueOf(java.lang.String name)
public io.lettuce.core.ReadFrom getValue()
public class RedisOptions -extends java.lang.Object
static java.time.Duration
DEFAULT_METRICS_STEP
static io.lettuce.core.SslVerifyMode
DEFAULT_SSL_VERIFY_MODE
RedisOptions()
getClientName()
getDatabase()
getHost()
java.util.Optional<java.io.File>
getKey()
java.io.File
getKeyCert()
char[]
getKeyPassword()
getKeystore()
getKeystorePassword()
getMetricsStep()
getPort()
getSocket()
java.util.Optional<java.lang.Long>
getTimeout()
io.lettuce.core.SslVerifyMode
getTlsVerifyMode()
getTrustedCerts()
getTruststore()
getTruststorePassword()
getUri()
isCluster()
isNoAutoReconnect()
isShowMetrics()
isTls()
setClientName(java.lang.String clientName)
setClientName(java.util.Optional<java.lang.String> clientName)
setCluster(boolean cluster)
setDatabase(int database)
setHost(java.lang.String host)
setHost(java.util.Optional<java.lang.String> host)
setKey(java.util.Optional<java.io.File> key)
setKeyCert(java.io.File keyCert)
setKeyPassword(char[] keyPassword)
setKeystore(java.io.File keystore)
setKeystore(java.util.Optional<java.io.File> keystore)
setKeystorePassword(char[] keystorePassword)
setMetricsStep(long metricsStep)
setNoAutoReconnect(boolean noAutoReconnect)
setPassword(char[] password)
setPort(int port)
setShowMetrics(boolean showMetrics)
setSocket(java.lang.String socket)
setSocket(java.util.Optional<java.lang.String> socket)
setTimeout(long timeout)
setTimeout(java.util.Optional<java.lang.Long> timeout)
setTls(boolean tls)
setTlsVerifyMode(io.lettuce.core.SslVerifyMode tlsVerifyMode)
setTrustedCerts(java.io.File certs)
setTrustedCerts(java.util.Optional<java.io.File> trustedCerts)
setTruststore(java.io.File truststore)
setTruststore(java.util.Optional<java.io.File> truststore)
setTruststorePassword(char[] truststorePassword)
setUri(io.lettuce.core.RedisURI uri)
public static final java.time.Duration DEFAULT_METRICS_STEP
public static final io.lettuce.core.SslVerifyMode DEFAULT_SSL_VERIFY_MODE
public RedisOptions()
public boolean isCluster()
public java.util.Optional<java.lang.String> getHost()
public void setHost(java.lang.String host)
public void setHost(java.util.Optional<java.lang.String> host)
public int getPort()
public void setPort(int port)
public void setSocket(java.lang.String socket)
public void setPassword(char[] password)
public void setUri(io.lettuce.core.RedisURI uri)
public void setTimeout(long timeout)
public void setDatabase(int database)
public void setTls(boolean tls)
public void setTlsVerifyMode(io.lettuce.core.SslVerifyMode tlsVerifyMode)
public void setKeystore(java.io.File keystore)
public void setKeystorePassword(char[] keystorePassword)
public void setTruststore(java.io.File truststore)
public void setTruststorePassword(char[] truststorePassword)
public java.util.Optional<java.lang.String> getSocket()
public void setSocket(java.util.Optional<java.lang.String> socket)
public java.util.Optional<java.lang.Long> getTimeout()
public void setTimeout(java.util.Optional<java.lang.Long> timeout)
public java.util.Optional<java.io.File> getKey()
public void setKey(java.util.Optional<java.io.File> key)
public java.io.File getKeyCert()
public void setKeyCert(java.io.File keyCert)
public char[] getKeyPassword()
public void setKeyPassword(char[] keyPassword)
public java.util.Optional<java.io.File> getKeystore()
public void setKeystore(java.util.Optional<java.io.File> keystore)
public char[] getKeystorePassword()
public java.util.Optional<java.io.File> getTruststore()
public void setTruststore(java.util.Optional<java.io.File> truststore)
public char[] getTruststorePassword()
public java.util.Optional<java.io.File> getTrustedCerts()
public void setTrustedCerts(java.util.Optional<java.io.File> trustedCerts)
public void setTrustedCerts(java.io.File certs)
public long getMetricsStep()
public void setMetricsStep(long metricsStep)
public java.util.Optional<java.lang.String> getClientName()
public void setClientName(java.util.Optional<java.lang.String> clientName)
public char[] getPassword()
public io.lettuce.core.RedisURI getUri()
public int getDatabase()
public boolean isTls()
public io.lettuce.core.SslVerifyMode getTlsVerifyMode()
public boolean isShowMetrics()
public void setShowMetrics(boolean showMetrics)
public boolean isNoAutoReconnect()
public void setNoAutoReconnect(boolean noAutoReconnect)
public void setClientName(java.lang.String clientName)
public void setCluster(boolean cluster)
public class RedisReaderOptions -extends java.lang.Object
RedisReaderOptions()
getKeyExcludes()
getKeyIncludes()
java.util.List<com.redis.spring.batch.common.IntRange>
getKeySlots()
getMemLimit()
getMemSamples()
getPoolMaxTotal()
getQueueCapacity()
java.util.Optional<ReadFromEnum>
getScanCount()
getScanMatch()
getScanType()
com.redis.spring.batch.common.PoolOptions
poolOptions()
com.redis.spring.batch.reader.QueueOptions
queueOptions()
com.redis.spring.batch.reader.ReaderOptions
java.util.Optional<io.lettuce.core.ReadFrom>
readFrom()
com.redis.spring.batch.reader.ScanOptions
scanOptions()
setKeyExcludes(java.util.List<java.lang.String> keyExcludes)
setKeyIncludes(java.util.List<java.lang.String> keyIncludes)
setKeySlots(java.util.List<com.redis.spring.batch.common.IntRange> keySlots)
setMemLimit(long memLimit)
setMemSamples(int memSamples)
setPoolMaxTotal(int poolMaxTotal)
setQueueCapacity(int queueCapacity)
setReadFrom(java.util.Optional<ReadFromEnum> readFrom)
setScanCount(long count)
setScanMatch(java.lang.String match)
setScanType(java.util.Optional<java.lang.String> type)
public RedisReaderOptions()
public int getMemSamples()
public void setMemSamples(int memSamples)
public long getMemLimit()
public void setMemLimit(long memLimit)
public java.util.List<com.redis.spring.batch.common.IntRange> getKeySlots()
public void setKeySlots(java.util.List<com.redis.spring.batch.common.IntRange> keySlots)
public java.util.List<java.lang.String> getKeyIncludes()
public void setKeyIncludes(java.util.List<java.lang.String> keyIncludes)
public java.util.List<java.lang.String> getKeyExcludes()
public void setKeyExcludes(java.util.List<java.lang.String> keyExcludes)
public java.util.Optional<ReadFromEnum> getReadFrom()
public void setReadFrom(java.util.Optional<ReadFromEnum> readFrom)
public java.lang.String getScanMatch()
public int getQueueCapacity()
public void setQueueCapacity(int queueCapacity)
public int getPoolMaxTotal()
public void setPoolMaxTotal(int poolMaxTotal)
public void setScanMatch(java.lang.String match)
public long getScanCount()
public void setScanCount(long count)
public java.util.Optional<java.lang.String> getScanType()
public void setScanType(java.util.Optional<java.lang.String> type)
public com.redis.spring.batch.reader.ScanOptions scanOptions()
public com.redis.spring.batch.common.PoolOptions poolOptions()
public com.redis.spring.batch.reader.QueueOptions queueOptions()
public com.redis.spring.batch.reader.ReaderOptions readerOptions()
public java.util.Optional<io.lettuce.core.ReadFrom> readFrom()
public class RedisStructOptions -extends java.lang.Object
RedisStructOptions()
com.redis.spring.batch.writer.MergePolicy
getMergePolicy()
com.redis.spring.batch.writer.StreamIdPolicy
getStreamIdPolicy()
setMergePolicy(com.redis.spring.batch.writer.MergePolicy mergePolicy)
setStreamIdPolicy(com.redis.spring.batch.writer.StreamIdPolicy streamIdPolicy)
com.redis.spring.batch.writer.StructOptions
structOptions()
public RedisStructOptions()
public com.redis.spring.batch.writer.MergePolicy getMergePolicy()
public void setMergePolicy(com.redis.spring.batch.writer.MergePolicy mergePolicy)
public com.redis.spring.batch.writer.StreamIdPolicy getStreamIdPolicy()
public void setStreamIdPolicy(com.redis.spring.batch.writer.StreamIdPolicy streamIdPolicy)
public com.redis.spring.batch.writer.StructOptions structOptions()
public class RedisWriterOptions -extends java.lang.Object
RedisWriterOptions()
getWaitReplicas()
getWaitTimeout()
isDryRun()
isMultiExec()
setDryRun(boolean dryRun)
setMultiExec(boolean multiExec)
setWaitReplicas(int waitReplicas)
setWaitTimeout(long waitTimeout)
com.redis.spring.batch.writer.WriterOptions
public RedisWriterOptions()
public boolean isDryRun()
public void setDryRun(boolean dryRun)
public boolean isMultiExec()
public void setMultiExec(boolean multiExec)
public int getWaitReplicas()
public void setWaitReplicas(int waitReplicas)
public long getWaitTimeout()
public void setWaitTimeout(long waitTimeout)
public com.redis.spring.batch.writer.WriterOptions writerOptions()
public class ReplicateCommandContext -extends CommandContext
ReplicateCommandContext(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient client, - io.lettuce.core.RedisURI targetRedisURI, - io.lettuce.core.AbstractRedisClient targetRedisClient)
getTargetRedisClient()
getTargetRedisURI()
getRedisClient, getRedisURI
public ReplicateCommandContext(io.lettuce.core.RedisURI redisURI, - io.lettuce.core.AbstractRedisClient client, - io.lettuce.core.RedisURI targetRedisURI, - io.lettuce.core.AbstractRedisClient targetRedisClient)
CommandContext
public io.lettuce.core.AbstractRedisClient getTargetRedisClient()
public io.lettuce.core.RedisURI getTargetRedisURI()
public class ReplicateOptions -extends java.lang.Object
ReplicateOptions()
com.redis.spring.batch.step.FlushingStepOptions
flushingOptions()
getFlushInterval()
getIdleTimeout()
getKeyProcessor()
ReplicationMode
getMode()
com.redis.spring.batch.reader.KeyspaceNotificationOrderingStrategy
getNotificationOrdering()
getNotificationQueueCapacity()
ReplicationStrategy
getStrategy()
getTargetPoolMaxTotal()
getTargetReadFrom()
getTtlTolerance()
isNoVerify()
isShowDiffs()
notificationQueueOptions()
setFlushInterval(long millis)
setIdleTimeout(long millis)
setKeyProcessor(java.util.Optional<java.lang.String> keyProcessor)
setMode(ReplicationMode mode)
setNotificationOrdering(com.redis.spring.batch.reader.KeyspaceNotificationOrderingStrategy notificationOrdering)
setNotificationQueueCapacity(int notificationQueueCapacity)
setNoVerify(boolean noVerify)
setShowDiffs(boolean showDiffs)
setStrategy(ReplicationStrategy strategy)
setTargetPoolMaxTotal(int targetPoolMaxTotal)
setTargetReadFrom(java.util.Optional<ReadFromEnum> readFrom)
setTtlTolerance(long ttlTolerance)
targetPoolOptions()
targetReaderOptions()
targetReadFrom()
public ReplicateOptions()
public java.util.Optional<ReadFromEnum> getTargetReadFrom()
public void setTargetReadFrom(java.util.Optional<ReadFromEnum> readFrom)
public com.redis.spring.batch.reader.KeyspaceNotificationOrderingStrategy getNotificationOrdering()
public void setNotificationOrdering(com.redis.spring.batch.reader.KeyspaceNotificationOrderingStrategy notificationOrdering)
public int getTargetPoolMaxTotal()
public void setTargetPoolMaxTotal(int targetPoolMaxTotal)
public long getFlushInterval()
public void setFlushInterval(long millis)
public long getIdleTimeout()
public void setIdleTimeout(long millis)
public ReplicationMode getMode()
public void setMode(ReplicationMode mode)
public ReplicationStrategy getStrategy()
public void setStrategy(ReplicationStrategy strategy)
public int getNotificationQueueCapacity()
public void setNotificationQueueCapacity(int notificationQueueCapacity)
public boolean isNoVerify()
public void setNoVerify(boolean noVerify)
public java.util.Optional<java.lang.String> getKeyProcessor()
public void setKeyProcessor(java.util.Optional<java.lang.String> keyProcessor)
public com.redis.spring.batch.reader.QueueOptions notificationQueueOptions()
public long getTtlTolerance()
public void setTtlTolerance(long ttlTolerance)
public boolean isShowDiffs()
public void setShowDiffs(boolean showDiffs)
public com.redis.spring.batch.common.PoolOptions targetPoolOptions()
public java.util.Optional<io.lettuce.core.ReadFrom> targetReadFrom()
public com.redis.spring.batch.reader.ReaderOptions targetReaderOptions()
public com.redis.spring.batch.step.FlushingStepOptions flushingOptions()
java.lang.Comparable<ReplicationMode>
public enum ReplicationMode -extends java.lang.Enum<ReplicationMode>
COMPARE
LIVE
LIVEONLY
SNAPSHOT
static ReplicationMode
static ReplicationMode[]
public static final ReplicationMode SNAPSHOT
public static final ReplicationMode LIVE
public static final ReplicationMode LIVEONLY
public static final ReplicationMode COMPARE
public static ReplicationMode[] values()
-for (ReplicationMode c : ReplicationMode.values()) - System.out.println(c); -
public static ReplicationMode valueOf(java.lang.String name)
java.lang.Comparable<ReplicationStrategy>
public enum ReplicationStrategy -extends java.lang.Enum<ReplicationStrategy>
DS
DUMP
static ReplicationStrategy
static ReplicationStrategy[]
public static final ReplicationStrategy DUMP
public static final ReplicationStrategy DS
public static ReplicationStrategy[] values()
-for (ReplicationStrategy c : ReplicationStrategy.values()) - System.out.println(c); -
public static ReplicationStrategy valueOf(java.lang.String name)
public class RiotExecutionStrategy -extends java.lang.Object -implements picocli.CommandLine.IExecutionStrategy
RiotExecutionStrategy(picocli.CommandLine.IExecutionStrategy... strategies)
execute(picocli.CommandLine.ParseResult parseResult)
public RiotExecutionStrategy(picocli.CommandLine.IExecutionStrategy... strategies)
public int execute(picocli.CommandLine.ParseResult parseResult)
public class RiotStep<I,O> -extends java.lang.Object
RiotStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory factory, - org.springframework.batch.item.ItemReader<I> reader, - org.springframework.batch.item.ItemWriter<O> writer)
org.springframework.batch.core.step.builder.SimpleStepBuilder<I,O>
RiotStep<I,O>
extraMessage(java.util.function.Supplier<java.lang.String> extraMessage)
java.util.function.Supplier<java.lang.String>
getExtraMessage()
getName()
org.springframework.batch.item.ItemProcessor<I,O>
getProcessor()
org.springframework.batch.item.ItemReader<I>
getReader()
getTask()
org.springframework.batch.item.ItemWriter<O>
getWriter()
logger(java.util.function.Consumer<java.lang.String> logger)
name(java.lang.String name)
options(JobOptions options)
processor(org.springframework.batch.item.ItemProcessor<I,O> processor)
progressStyle(JobOptions.ProgressStyle style)
skippableExceptions(java.lang.Class... classes)
task(java.lang.String task)
public RiotStep(org.springframework.batch.core.configuration.annotation.StepBuilderFactory factory, - org.springframework.batch.item.ItemReader<I> reader, - org.springframework.batch.item.ItemWriter<O> writer)
public RiotStep<I,O> progressStyle(JobOptions.ProgressStyle style)
public RiotStep<I,O> name(java.lang.String name)
public RiotStep<I,O> options(JobOptions options)
public RiotStep<I,O> task(java.lang.String task)
public RiotStep<I,O> logger(java.util.function.Consumer<java.lang.String> logger)
public RiotStep<I,O> extraMessage(java.util.function.Supplier<java.lang.String> extraMessage)
public RiotStep<I,O> processor(org.springframework.batch.item.ItemProcessor<I,O> processor)
public RiotStep<I,O> skippableExceptions(java.lang.Class... classes)
public java.util.function.Supplier<java.lang.String> getExtraMessage()
public java.lang.String getName()
public org.springframework.batch.item.ItemProcessor<I,O> getProcessor()
public org.springframework.batch.item.ItemReader<I> getReader()
public java.lang.String getTask()
public org.springframework.batch.item.ItemWriter<O> getWriter()
public org.springframework.batch.core.step.builder.SimpleStepBuilder<I,O> build()
public interface RiotUtils
static io.lettuce.core.AbstractRedisClient
client(RedisOptions redisOptions)
client(io.lettuce.core.RedisURI redisURI, - RedisOptions redisOptions)
static io.lettuce.core.RedisURI
redisURI(RedisOptions redisOptions)
static io.lettuce.core.RedisURI redisURI(RedisOptions redisOptions)
static io.lettuce.core.AbstractRedisClient client(RedisOptions redisOptions)
static io.lettuce.core.AbstractRedisClient client(io.lettuce.core.RedisURI redisURI, - RedisOptions redisOptions)
java.lang.Comparable<StepSkipPolicy>
public enum StepSkipPolicy -extends java.lang.Enum<StepSkipPolicy>
ALWAYS
LIMIT
NEVER
static StepSkipPolicy[]
public static final StepSkipPolicy ALWAYS
public static final StepSkipPolicy NEVER
public static final StepSkipPolicy LIMIT
public static StepSkipPolicy[] values()
-for (StepSkipPolicy c : StepSkipPolicy.values()) - System.out.println(c); -
public static StepSkipPolicy valueOf(java.lang.String name)
ProgressWithExtraMessageStepListener<T>
public class DumpOptions -extends java.lang.Object
protected java.util.Optional<FileDumpType>
type
DumpOptions()
java.util.Optional<FileDumpType>
getType()
setType(FileDumpType type)
FileDumpType
protected java.util.Optional<FileDumpType> type
public DumpOptions()
public java.util.Optional<FileDumpType> getType()
public void setType(FileDumpType type)
public FileDumpType type(org.springframework.core.io.Resource resource)
public class FileExportOptions -extends FileOptions
FileOptions.Builder<B extends FileOptions.Builder<B>>
DEFAULT_ELEMENT_NAME
DEFAULT_LINE_SEPARATOR
DEFAULT_ROOT_NAME
DEFAULT_ENCODING, DEFAULT_GZIP, encoding, gcs, gzip, s3
FileExportOptions()
getElementName()
getLineSeparator()
getRootName()
isAppend()
setAppend(boolean append)
setElementName(java.lang.String elementName)
setLineSeparator(java.lang.String lineSeparator)
setRootName(java.lang.String rootName)
getEncoding, getGcs, getS3, inputResource, isGzip, outputResource, setEncoding, setGcs, setGzip, setS3
public static final java.lang.String DEFAULT_ELEMENT_NAME
public static final java.lang.String DEFAULT_ROOT_NAME
public static final java.lang.String DEFAULT_LINE_SEPARATOR
public FileExportOptions()
public boolean isAppend()
public void setAppend(boolean append)
public java.lang.String getRootName()
public void setRootName(java.lang.String rootName)
public java.lang.String getElementName()
public void setElementName(java.lang.String elementName)
public java.lang.String getLineSeparator()
public void setLineSeparator(java.lang.String lineSeparator)
FlatFileOptions.Builder
public static class FileOptions.Builder<B extends FileOptions.Builder<B>> -extends java.lang.Object
B
encoding(java.nio.charset.Charset encoding)
gcs(GcsOptions gcs)
gzip(boolean gzip)
s3(S3Options s3)
public B encoding(java.nio.charset.Charset encoding)
public B gzip(boolean gzip)
public B s3(S3Options s3)
public B gcs(GcsOptions gcs)
public class FileOptions -extends java.lang.Object
static java.nio.charset.Charset
DEFAULT_ENCODING
DEFAULT_GZIP
protected java.nio.charset.Charset
encoding
protected GcsOptions
gcs
protected boolean
gzip
protected S3Options
s3
FileOptions()
protected
FileOptions(FileOptions.Builder<?> builder)
java.nio.charset.Charset
getEncoding()
GcsOptions
getGcs()
S3Options
getS3()
org.springframework.core.io.Resource
inputResource(java.lang.String file)
isGzip()
org.springframework.core.io.WritableResource
outputResource(java.lang.String file)
setEncoding(java.nio.charset.Charset encoding)
setGcs(GcsOptions gcs)
setGzip(boolean gzip)
setS3(S3Options s3)
public static final java.nio.charset.Charset DEFAULT_ENCODING
public static final boolean DEFAULT_GZIP
protected java.nio.charset.Charset encoding
protected boolean gzip
protected S3Options s3
protected GcsOptions gcs
public FileOptions()
protected FileOptions(FileOptions.Builder<?> builder)
public java.nio.charset.Charset getEncoding()
public void setEncoding(java.nio.charset.Charset encoding)
public boolean isGzip()
public void setGzip(boolean gzip)
public S3Options getS3()
public void setS3(S3Options s3)
public GcsOptions getGcs()
public void setGcs(GcsOptions gcs)
public org.springframework.core.io.Resource inputResource(java.lang.String file)
public org.springframework.core.io.WritableResource outputResource(java.lang.String file) - throws java.io.IOException
public static final class FlatFileOptions.Builder -extends FileOptions.Builder<FlatFileOptions.Builder>
columnRanges(java.lang.String... columnRanges)
continuationString(java.lang.String continuationString)
delimiter(java.lang.String delimiter)
delimiter(java.util.Optional<java.lang.String> delimiter)
header(boolean header)
headerLine(int lineIndex)
headerLine(java.util.Optional<java.lang.Integer> lineIndex)
includedFields(int... includedFields)
linesToSkip(int linesToSkip)
max(int count)
names(java.lang.String... names)
quoteCharacter(java.lang.Character quoteCharacter)
encoding, gcs, gzip, s3
public FlatFileOptions.Builder headerLine(int lineIndex)
public FlatFileOptions.Builder headerLine(java.util.Optional<java.lang.Integer> lineIndex)
public FlatFileOptions.Builder max(int count)
public FlatFileOptions.Builder names(java.lang.String... names)
public FlatFileOptions.Builder header(boolean header)
public FlatFileOptions.Builder delimiter(java.lang.String delimiter)
public FlatFileOptions.Builder delimiter(java.util.Optional<java.lang.String> delimiter)
public FlatFileOptions.Builder linesToSkip(int linesToSkip)
public FlatFileOptions.Builder includedFields(int... includedFields)
public FlatFileOptions.Builder columnRanges(java.lang.String... columnRanges)
public FlatFileOptions.Builder quoteCharacter(java.lang.Character quoteCharacter)
public FlatFileOptions.Builder continuationString(java.lang.String continuationString)
public FlatFileOptions build()
public class FlatFileOptions -extends java.lang.Object
DEFAULT_CONTINUATION_STRING
static java.lang.Character
DEFAULT_QUOTE_CHARACTER
FlatFileOptions()
static FlatFileOptions.Builder
getColumnRanges()
getContinuationString()
getDelimiter()
java.util.Collection<java.lang.String>
java.util.Optional<java.lang.Integer>
getHeaderLine()
int[]
getIncludedFields()
getLinesToSkip()
java.lang.Character
getQuoteCharacter()
isHeader()
setColumnRanges(java.lang.String... columnRanges)
setContinuationString(java.lang.String continuationString)
setDelimiter(java.lang.String delimiter)
setFields(java.lang.String... names)
setFields(java.util.Collection<java.lang.String> names)
setHeader(boolean header)
setHeaderLine(int lineIndex)
setIncludedFields(int... includedFields)
setLinesToSkip(int linesToSkip)
setMaxItemCount(int count)
setQuoteCharacter(java.lang.Character quoteCharacter)
public static final java.lang.String DEFAULT_CONTINUATION_STRING
public static final java.lang.Character DEFAULT_QUOTE_CHARACTER
public FlatFileOptions()
public void setMaxItemCount(int count)
public java.util.Collection<java.lang.String> getFields()
public void setFields(java.util.Collection<java.lang.String> names)
public void setFields(java.lang.String... names)
public boolean isHeader()
public void setHeader(boolean header)
public void setDelimiter(java.lang.String delimiter)
public java.util.Optional<java.lang.Integer> getHeaderLine()
public void setHeaderLine(int lineIndex)
public int getLinesToSkip()
public void setLinesToSkip(int linesToSkip)
public int[] getIncludedFields()
public void setIncludedFields(int... includedFields)
public java.util.List<java.lang.String> getColumnRanges()
public void setColumnRanges(java.lang.String... columnRanges)
public java.util.Optional<java.lang.String> getDelimiter()
public java.lang.Character getQuoteCharacter()
public void setQuoteCharacter(java.lang.Character quoteCharacter)
public java.lang.String getContinuationString()
public void setContinuationString(java.lang.String continuationString)
public static FlatFileOptions.Builder builder()
public class GcsOptions -extends java.lang.Object
GcsOptions()
org.springframework.cloud.gcp.storage.GoogleStorageResource
resource(java.lang.String locationUri, - boolean readOnly)
setEncodedKey(java.lang.String encodedKey)
setKeyFile(java.io.File credentials)
setProjectId(java.lang.String projectId)
public GcsOptions()
public void setKeyFile(java.io.File credentials)
public void setProjectId(java.lang.String projectId)
public void setEncodedKey(java.lang.String encodedKey)
public org.springframework.cloud.gcp.storage.GoogleStorageResource resource(java.lang.String locationUri, - boolean readOnly) - throws java.io.IOException
public class S3Options -extends java.lang.Object
S3Options()
resource(java.lang.String location)
setAccessKey(java.lang.String accessKey)
setRegion(java.lang.String region)
setSecretKey(java.lang.String secretKey)
public S3Options()
public void setAccessKey(java.lang.String accessKey)
public void setSecretKey(java.lang.String secretKey)
public void setRegion(java.lang.String region)
public org.springframework.core.io.Resource resource(java.lang.String location)
OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>
public abstract class AbstractCollectionCommand -extends AbstractKeyCommand
AbstractCollectionCommand()
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>
member()
getKeyOptions, key, setKeyOptions
doubleFieldExtractor, getCommandOptions, idMaker, numberExtractor, numberExtractor, numberExtractor, setCommandOptions, stringFieldExtractor, stringFieldExtractor
operation
public AbstractCollectionCommand()
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> member()
AbstractCollectionCommand
public abstract class AbstractKeyCommand -extends AbstractOperationCommand<java.util.Map<java.lang.String,java.lang.Object>>
AbstractKeyCommand()
KeyOptions
getKeyOptions()
key()
setKeyOptions(KeyOptions keyOptions)
public AbstractKeyCommand()
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> key()
public KeyOptions getKeyOptions()
public void setKeyOptions(KeyOptions keyOptions)
OperationCommand<O>
AbstractKeyCommand
public abstract class AbstractOperationCommand<O> -extends java.lang.Object -implements OperationCommand<O>
AbstractOperationCommand()
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Double>
doubleFieldExtractor(java.lang.String field)
RedisCommandOptions
getCommandOptions()
idMaker(java.util.Optional<java.lang.String> prefix, - java.lang.String... fields)
protected <T extends java.lang.Number>java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,T>
numberExtractor(java.lang.String field, - java.lang.Class<T> targetType)
numberExtractor(java.lang.String field, - java.lang.Class<T> targetType, - java.lang.Object defaultValue)
numberExtractor(java.util.Optional<java.lang.String> field, - java.lang.Class<T> targetType, - T defaultValue)
setCommandOptions(RedisCommandOptions commandOptions)
stringFieldExtractor(java.lang.String field)
stringFieldExtractor(java.util.Optional<java.lang.String> field)
public AbstractOperationCommand()
public RedisCommandOptions getCommandOptions()
public void setCommandOptions(RedisCommandOptions commandOptions)
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Double> doubleFieldExtractor(java.lang.String field)
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> stringFieldExtractor(java.util.Optional<java.lang.String> field)
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> stringFieldExtractor(java.lang.String field)
protected <T extends java.lang.Number> java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,T> numberExtractor(java.lang.String field, - java.lang.Class<T> targetType)
protected <T extends java.lang.Number> java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,T> numberExtractor(java.util.Optional<java.lang.String> field, - java.lang.Class<T> targetType, - T defaultValue)
protected <T extends java.lang.Number> java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,T> numberExtractor(java.lang.String field, - java.lang.Class<T> targetType, - java.lang.Object defaultValue)
protected java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> idMaker(java.util.Optional<java.lang.String> prefix, - java.lang.String... fields)
public class CollectionOptions -extends java.lang.Object
CollectionOptions()
getMemberFields()
getMemberSpace()
setMemberFields(java.lang.String... memberFields)
setMemberSpace(java.util.Optional<java.lang.String> memberSpace)
public CollectionOptions()
public java.lang.String[] getMemberFields()
public java.util.Optional<java.lang.String> getMemberSpace()
public void setMemberFields(java.lang.String... memberFields)
public void setMemberSpace(java.util.Optional<java.lang.String> memberSpace)
public class DelCommand -extends AbstractKeyCommand
DelCommand()
com.redis.spring.batch.writer.operation.Del<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public DelCommand()
public com.redis.spring.batch.writer.operation.Del<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class EvalOptions -extends java.lang.Object
static io.lettuce.core.ScriptOutputType
DEFAULT_OUTPUT_TYPE
EvalOptions()
getArgs()
getKeys()
io.lettuce.core.ScriptOutputType
getOutputType()
getSha()
setArgs(java.lang.String[] args)
setKeys(java.lang.String[] keys)
setOutputType(io.lettuce.core.ScriptOutputType outputType)
setSha(java.lang.String sha)
public static final io.lettuce.core.ScriptOutputType DEFAULT_OUTPUT_TYPE
public EvalOptions()
public java.lang.String getSha()
public void setSha(java.lang.String sha)
public java.lang.String[] getKeys()
public void setKeys(java.lang.String[] keys)
public java.lang.String[] getArgs()
public void setArgs(java.lang.String[] args)
public io.lettuce.core.ScriptOutputType getOutputType()
public void setOutputType(io.lettuce.core.ScriptOutputType outputType)
public class ExpireCommand -extends AbstractKeyCommand
ExpireCommand()
com.redis.spring.batch.writer.operation.Expire<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public ExpireCommand()
public com.redis.spring.batch.writer.operation.Expire<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class ExpireOptions -extends java.lang.Object
static long
DEFAULT_TTL
ExpireOptions()
getDefaultTtl()
getTtlField()
setDefaultTtl(long ttl)
setTtlField(java.util.Optional<java.lang.String> field)
public static final long DEFAULT_TTL
public ExpireOptions()
public java.util.Optional<java.lang.String> getTtlField()
public void setTtlField(java.util.Optional<java.lang.String> field)
public long getDefaultTtl()
public void setDefaultTtl(long ttl)
public class FilteringOptions -extends java.lang.Object
FilteringOptions()
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.String>>
converter()
getExcludes()
getIncludes()
setExcludes(java.lang.String[] excludes)
setIncludes(java.lang.String[] includes)
public FilteringOptions()
public java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.String>> converter()
public java.lang.String[] getIncludes()
public void setIncludes(java.lang.String[] includes)
public java.lang.String[] getExcludes()
public void setExcludes(java.lang.String[] excludes)
public class GeoaddCommand -extends AbstractCollectionCommand
GeoaddCommand()
com.redis.spring.batch.writer.operation.Geoadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
member
public GeoaddCommand()
public com.redis.spring.batch.writer.operation.Geoadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class GeoaddOptions -extends java.lang.Object
GeoaddOptions()
getLatitude()
getLongitude()
setLatitude(java.lang.String latitudeField)
setLongitude(java.lang.String longitudeField)
public GeoaddOptions()
public java.lang.String getLongitude()
public void setLongitude(java.lang.String longitudeField)
public java.lang.String getLatitude()
public void setLatitude(java.lang.String latitudeField)
public class HsetCommand -extends AbstractKeyCommand
HsetCommand()
FilteringOptions
getOptions()
com.redis.spring.batch.writer.operation.Hset<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
setOptions(FilteringOptions options)
public HsetCommand()
public FilteringOptions getOptions()
public void setOptions(FilteringOptions options)
public com.redis.spring.batch.writer.operation.Hset<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class JsonSetCommand -extends AbstractKeyCommand
JsonSetCommand()
com.redis.spring.batch.writer.operation.JsonSet<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public JsonSetCommand()
public com.redis.spring.batch.writer.operation.JsonSet<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class KeyOptions -extends java.lang.Object
KeyOptions()
setKeyspace(java.util.Optional<java.lang.String> keyspace)
public KeyOptions()
public java.util.Optional<java.lang.String> getKeyspace()
public void setKeyspace(java.util.Optional<java.lang.String> keyspace)
public class LpushCommand -extends AbstractCollectionCommand
LpushCommand()
com.redis.spring.batch.writer.operation.Lpush<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public LpushCommand()
public com.redis.spring.batch.writer.operation.Lpush<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class NoopCommand -extends java.lang.Object -implements OperationCommand<java.util.Map<java.lang.String,java.lang.Object>>
NoopCommand()
com.redis.spring.batch.writer.operation.Noop<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public NoopCommand()
public com.redis.spring.batch.writer.operation.Noop<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
AbstractOperationCommand
NoopCommand
public interface OperationCommand<T>
com.redis.spring.batch.writer.WriteOperation<java.lang.String,java.lang.String,T>
com.redis.spring.batch.writer.WriteOperation<java.lang.String,java.lang.String,T> operation()
public class RedisCommandOptions -extends java.lang.Object
DEFAULT_IGNORE_MISSING_FIELDS
DEFAULT_REMOVE_FIELDS
DEFAULT_SEPARATOR
RedisCommandOptions()
getKeySeparator()
isIgnoreMissingFields()
isRemoveFields()
setIgnoreMissingFields(boolean ignoreMissingFields)
setKeySeparator(java.lang.String keySeparator)
setRemoveFields(boolean removeFields)
public static final java.lang.String DEFAULT_SEPARATOR
public static final boolean DEFAULT_REMOVE_FIELDS
public static final boolean DEFAULT_IGNORE_MISSING_FIELDS
public RedisCommandOptions()
public java.lang.String getKeySeparator()
public void setKeySeparator(java.lang.String keySeparator)
public boolean isRemoveFields()
public void setRemoveFields(boolean removeFields)
public boolean isIgnoreMissingFields()
public void setIgnoreMissingFields(boolean ignoreMissingFields)
public class RpushCommand -extends AbstractCollectionCommand
RpushCommand()
com.redis.spring.batch.writer.operation.Rpush<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public RpushCommand()
public com.redis.spring.batch.writer.operation.Rpush<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class SaddCommand -extends AbstractCollectionCommand
SaddCommand()
com.redis.spring.batch.writer.operation.Sadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public SaddCommand()
public com.redis.spring.batch.writer.operation.Sadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class SetCommand -extends AbstractKeyCommand
SetCommand()
com.redis.spring.batch.writer.operation.Set<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public SetCommand()
public com.redis.spring.batch.writer.operation.Set<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class SetOptions -extends java.lang.Object
static StringFormat
DEFAULT_FORMAT
SetOptions()
getField()
StringFormat
getFormat()
getRoot()
setField(java.lang.String field)
setFormat(StringFormat format)
setRoot(java.lang.String root)
public static final StringFormat DEFAULT_FORMAT
public SetOptions()
public StringFormat getFormat()
public void setFormat(StringFormat format)
public java.util.Optional<java.lang.String> getField()
public void setField(java.lang.String field)
public java.lang.String getRoot()
public void setRoot(java.lang.String root)
java.lang.Comparable<StringFormat>
public enum StringFormat -extends java.lang.Enum<StringFormat>
JSON
RAW
XML
static StringFormat[]
public static final StringFormat RAW
public static final StringFormat XML
public static final StringFormat JSON
public static StringFormat[] values()
-for (StringFormat c : StringFormat.values()) - System.out.println(c); -
public static StringFormat valueOf(java.lang.String name)
public class SugaddCommand -extends AbstractKeyCommand
SugaddCommand()
com.redis.spring.batch.writer.operation.Sugadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public SugaddCommand()
public com.redis.spring.batch.writer.operation.Sugadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class SugaddOptions -extends java.lang.Object
DEFAULT_INCREMENT
static double
DEFAULT_SCORE
SugaddOptions()
double
getDefaultScore()
getPayload()
getScore()
isIncrement()
setDefaultScore(double scoreDefault)
setIncrement(boolean increment)
setPayload(java.util.Optional<java.lang.String> payload)
setScore(java.util.Optional<java.lang.String> scoreField)
public static final double DEFAULT_SCORE
public static final boolean DEFAULT_INCREMENT
public SugaddOptions()
public java.lang.String getField()
public java.util.Optional<java.lang.String> getScore()
public void setScore(java.util.Optional<java.lang.String> scoreField)
public double getDefaultScore()
public void setDefaultScore(double scoreDefault)
public java.util.Optional<java.lang.String> getPayload()
public void setPayload(java.util.Optional<java.lang.String> payload)
public boolean isIncrement()
public void setIncrement(boolean increment)
public class TsAddCommand -extends AbstractKeyCommand
TsAddCommand()
com.redis.spring.batch.writer.operation.TsAdd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public TsAddCommand()
public com.redis.spring.batch.writer.operation.TsAdd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class TsAddOptions -extends java.lang.Object
static com.redis.lettucemod.timeseries.DuplicatePolicy
DEFAULT_DUPLICATE_POLICY
TsAddOptions()
com.redis.lettucemod.timeseries.DuplicatePolicy
getDuplicatePolicy()
getLabels()
getTimestampField()
getValueField()
setDuplicatePolicy(com.redis.lettucemod.timeseries.DuplicatePolicy duplicatePolicy)
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
setTimestampField(java.util.Optional<java.lang.String> timestampField)
setValueField(java.lang.String valueField)
public static final com.redis.lettucemod.timeseries.DuplicatePolicy DEFAULT_DUPLICATE_POLICY
public TsAddOptions()
public java.util.Optional<java.lang.String> getTimestampField()
public void setTimestampField(java.util.Optional<java.lang.String> timestampField)
public java.lang.String getValueField()
public void setValueField(java.lang.String valueField)
public com.redis.lettucemod.timeseries.DuplicatePolicy getDuplicatePolicy()
public void setDuplicatePolicy(com.redis.lettucemod.timeseries.DuplicatePolicy duplicatePolicy)
public java.util.Map<java.lang.String,java.lang.String> getLabels()
public void setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
public class XaddCommand -extends AbstractKeyCommand
XaddCommand()
com.redis.spring.batch.writer.operation.Xadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public XaddCommand()
public com.redis.spring.batch.writer.operation.Xadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class XaddOptions -extends java.lang.Object
DEFAULT_APPROXIMATE_TRIMMING
XaddOptions()
getFilteringOptions()
getMaxlen()
isApproximateTrimming()
setApproximateTrimming(boolean approximateTrimming)
setFilteringOptions(FilteringOptions filteringOptions)
setMaxlen(long maxlen)
public static final boolean DEFAULT_APPROXIMATE_TRIMMING
public XaddOptions()
public FilteringOptions getFilteringOptions()
public void setFilteringOptions(FilteringOptions filteringOptions)
public java.util.Optional<java.lang.Long> getMaxlen()
public void setMaxlen(long maxlen)
public boolean isApproximateTrimming()
public void setApproximateTrimming(boolean approximateTrimming)
public class ZaddCommand -extends AbstractCollectionCommand
ZaddCommand()
com.redis.spring.batch.writer.operation.Zadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>>
public ZaddCommand()
public com.redis.spring.batch.writer.operation.Zadd<java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> operation()
public class ZaddOptions -extends java.lang.Object
ZaddOptions()
public ZaddOptions()
AbstractOperationCommand<O>
RedisCommand
protected DelBuilder
operationBuilder()
protected ExpireBuilder
FieldFilteringArgs()
configure(AbstractFilterMapOperationBuilder builder)
protected GeoaddBuilder
collectionOperationBuilder()
protected AbstractMapOperationBuilder
protected HsetBuilder
protected JsonSetBuilder
protected LpushBuilder
protected RpushBuilder
protected SaddBuilder
static final SetBuilder.StringFormat
protected SetBuilder
static final boolean
static final double
getPayloadField()
getScoreField()
getStringField()
protected SugaddBuilder
setDefaultScore(double scoreDefault)
setIncrement(boolean increment)
setPayload(String field)
setScore(String field)
setStringField(String field)
protected TsAddBuilder
FieldFilteringArgs
protected XaddSupplier
setApproximateTrimming(boolean approximateTrimming)
setFilteringOptions(FieldFilteringArgs filteringOptions)
setMaxlen(long maxlen)
protected ZaddSupplier
AbstractMapExport
FileDumpExport
Replication
DEFAULT_CHUNK_SIZE, DEFAULT_RETRY_LIMIT, DEFAULT_SKIP_LIMIT, DEFAULT_SKIP_POLICY, DEFAULT_SLEEP, DEFAULT_THREADS
AbstractExport()
protected <K, +V, +R extends com.redis.spring.batch.RedisItemReader<K, +V, +?>>R
configureReader(String name, + R reader)
protected org.springframework.expression.spel.support.StandardEvaluationContext
evaluationContext()
protected abstract boolean
isStruct()
<K> org.springframework.batch.item.ItemProcessor<K,K>
keyFilteringProcessor(io.lettuce.core.codec.RedisCodec<K,?> codec)
protected <K> Function<com.redis.spring.batch.common.KeyValue<K>,com.redis.spring.batch.common.KeyValue<K>>
processor(io.lettuce.core.codec.RedisCodec<K,?> codec)
setEvaluationContextOptions(EvaluationContextOptions spelProcessorOptions)
setProcessorOptions(ExportProcessorOptions options)
setReaderOptions(RedisReaderOptions readerOptions)
doRun, getChunkSize, getJobRepository, getName, getRetryLimit, getSkipLimit, getSleep, getThreads, getTransactionManager, isDryRun, job, jobBuilder, name, open, setChunkSize, setDryRun, setJobRepository, setName, setRetryLimit, setSkipLimit, setSleep, setStepConfigurer, setThreads, setTransactionManager, step, writer
close, getRedisClient, getRedisClientOptions, getRedisConnection, getRedisURI, run, setRedisClientOptions
DatabaseImport
AbstractImport()
EvaluationContextOptions
getEvaluationContextOptions()
List<com.redis.spring.batch.common.Operation<String,String,Map<String,Object>,Object>>
getOperations()
ImportProcessorOptions
protected org.springframework.batch.item.ItemProcessor<Map<String,Object>,Map<String,Object>>
processor()
setEvaluationContextOptions(EvaluationContextOptions evaluationContextOptions)
setOperations(com.redis.spring.batch.common.Operation<String,String,Map<String,Object>,Object>... operations)
setOperations(List<com.redis.spring.batch.common.Operation<String,String,Map<String,Object>,Object>> operations)
setProcessorOptions(ImportProcessorOptions options)
setWriterOptions(RedisWriterOptions options)
protected org.springframework.batch.item.ItemWriter<Map<String,Object>>
writer()
AbstractExport
AbstractImport
AbstractStructImport
static final int
DEFAULT_RETRY_LIMIT
static final org.springframework.batch.core.step.skip.SkipPolicy
static final Duration
DEFAULT_SLEEP
AbstractJobRunnable()
doRun()
getRetryLimit()
Duration
protected org.springframework.transaction.PlatformTransactionManager
getTransactionManager()
job()
jobBuilder()
name(String... suffixes)
open()
setChunkSize(int chunkSize)
setDryRun(boolean dryRun)
setJobRepository(org.springframework.batch.core.repository.JobRepository jobRepository)
setRetryLimit(int retryLimit)
setSkipLimit(int skipLimit)
setSleep(Duration sleep)
setStepConfigurer(Consumer<RiotStep<?,?>> stepConfigurer)
setThreads(int threads)
setTransactionManager(org.springframework.transaction.PlatformTransactionManager platformTransactionManager)
protected <I, +O> org.springframework.batch.core.step.builder.FaultTolerantStepBuilder<I,O>
step(String name, + org.springframework.batch.item.ItemReader<I> reader, + org.springframework.batch.item.ItemProcessor<I,O> processor, + org.springframework.batch.item.ItemWriter<O> writer)
protected <W extends com.redis.spring.batch.writer.AbstractOperationItemWriter<?, +?, +?>>W
writer(W writer, + RedisWriterOptions options)
open
AbstractRunnable
doRun
DatabaseExport
static final Pattern
AbstractMapExport()
protected org.springframework.batch.item.ItemProcessor<com.redis.spring.batch.common.KeyValue<String>,Map<String,Object>>
protected com.redis.spring.batch.reader.StructItemReader<String,String>
reader()
setKeyRegex(Pattern pattern)
protected abstract org.springframework.batch.item.ItemWriter<Map<String,Object>>
configureReader, evaluationContext, getProcessorOptions, getReaderOptions, keyFilteringProcessor, processor, setEvaluationContextOptions, setProcessorOptions, setReaderOptions
doRun, getChunkSize, getJobRepository, getName, getRetryLimit, getSkipLimit, getSleep, getThreads, getTransactionManager, isDryRun, jobBuilder, name, open, setChunkSize, setDryRun, setJobRepository, setName, setRetryLimit, setSkipLimit, setSleep, setStepConfigurer, setThreads, setTransactionManager, step, writer
AbstractJobRunnable
isStruct
AbstractRunnable()
protected abstract void
protected io.lettuce.core.AbstractRedisClient
getRedisClientOptions()
protected com.redis.lettucemod.api.StatefulRedisModulesConnection<String,String>
getRedisConnection()
protected io.lettuce.core.RedisURI
setRedisClientOptions(RedisClientOptions options)
FileDumpImport
GeneratorImport
AbstractStructImport()
protected com.redis.spring.batch.RedisItemWriter<String,String,com.redis.spring.batch.common.KeyValue<String>>
public class CompareStepExecutionListener -extends org.springframework.batch.core.listener.StepExecutionListenerSupport
CompareStepExecutionListener(com.redis.spring.batch.writer.KeyComparisonCountItemWriter writer, - java.util.logging.Logger logger)
public CompareStepExecutionListener(com.redis.spring.batch.writer.KeyComparisonCountItemWriter writer, - java.util.logging.Logger logger)
org.springframework.batch.core.listener.StepExecutionListenerSupport
DEFAULT_DATE_FORMAT
EvaluationContextOptions()
org.springframework.expression.spel.support.StandardEvaluationContext
getDateVar()
Map<String,org.springframework.expression.Expression>
getVarExpressions()
Map<String,Object>
getVars()
setDateFormat(String format)
setDateVar(String dateVar)
setVarExpressions(Map<String,org.springframework.expression.Expression> expressions)
setVars(Map<String,Object> variables)
ExecutionException(String message)
ExecutionException(String message, + Throwable cause)
ExecutionException(Throwable cause)
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
ExportProcessorOptions()
TemplateExpression
getKeyExpression()
org.springframework.expression.Expression
getTtlExpression()
getTypeExpression()
isDropStreamMessageId()
isDropTtl()
isEmpty()
setDropStreamMessageId(boolean dropStreamMessageId)
setDropTtl(boolean dropTtl)
setKeyExpression(TemplateExpression expression)
setTtlExpression(org.springframework.expression.Expression expression)
setTypeExpression(org.springframework.expression.Expression expression)
org.springframework.batch.item.ItemReader<java.util.Map<java.lang.String,java.lang.Object>>
org.springframework.batch.item.ItemStream
org.springframework.batch.item.ItemStreamReader<java.util.Map<java.lang.String,java.lang.Object>>
public class FakerItemReader -extends org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<java.util.Map<java.lang.String,java.lang.Object>>
FIELD_INDEX
FakerItemReader()
doClose()
doOpen()
protected java.util.Map<java.lang.String,java.lang.Object>
doRead()
isOpen()
size()
FakerItemReader
withField(java.lang.String field, - java.lang.String expression)
withFields(java.lang.String... fields)
withIncludeMetadata(boolean include)
withIndexRange(com.redis.spring.batch.common.IntRange range)
withLocale(java.util.Locale locale)
close, getCurrentItemCount, isSaveState, jumpToItem, open, read, setCurrentItemCount, setSaveState, update
getExecutionContextKey, getName, setExecutionContextName, setName
public static final java.lang.String FIELD_INDEX
public FakerItemReader()
setMaxItemCount
org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<java.util.Map<java.lang.String,java.lang.Object>>
public int size()
public FakerItemReader withIndexRange(com.redis.spring.batch.common.IntRange range)
public FakerItemReader withLocale(java.util.Locale locale)
public FakerItemReader withIncludeMetadata(boolean include)
public FakerItemReader withField(java.lang.String field, - java.lang.String expression)
public FakerItemReader withFields(java.lang.String... fields)
protected java.util.Map<java.lang.String,java.lang.Object> doRead() - throws java.lang.Exception
doRead
protected void doOpen() - throws java.lang.Exception
doOpen
protected void doClose() - throws java.lang.Exception
doClose
public boolean isOpen()
java.lang.Comparable<FileDumpType>
public enum FileDumpType -extends java.lang.Enum<FileDumpType>
static FileDumpType
static FileDumpType[]
public static final FileDumpType JSON
public static final FileDumpType XML
public static FileDumpType[] values()
-for (FileDumpType c : FileDumpType.values()) - System.out.println(c); -
public static FileDumpType valueOf(java.lang.String name)
java.lang.Comparable<FileExtension>
public enum FileExtension -extends java.lang.Enum<FileExtension>
CSV
FW
GZ
PSV
TSV
static FileExtension
static FileExtension[]
public static final FileExtension CSV
public static final FileExtension TSV
public static final FileExtension PSV
public static final FileExtension FW
public static final FileExtension JSON
public static final FileExtension XML
public static final FileExtension GZ
public static FileExtension[] values()
-for (FileExtension c : FileExtension.values()) - System.out.println(c); -
public static FileExtension valueOf(java.lang.String name)
java.lang.Comparable<FileType>
public enum FileType -extends java.lang.Enum<FileType>
DELIMITED
FIXED
static FileType[]
public static final FileType DELIMITED
public static final FileType FIXED
public static final FileType JSON
public static final FileType XML
public static FileType[] values()
-for (FileType c : FileType.values()) - System.out.println(c); -
public static FileType valueOf(java.lang.String name)
public interface FileUtils
static java.util.regex.Pattern
EXTENSION_PATTERN
GS_URI_PREFIX
S3_URI_PREFIX
static java.util.stream.Stream<java.lang.String>
expand(java.lang.String filename)
static java.util.List<java.nio.file.Path>
expand(java.nio.file.Path path)
expandAll(java.lang.Iterable<java.lang.String> files)
extension(org.springframework.core.io.Resource resource)
static java.util.Optional<FileExtension>
extensionGroup(java.lang.String file, - java.lang.String group)
isConsole(java.lang.String file)
isFile(java.lang.String file)
isGcs(java.lang.String file)
isGzip(java.lang.String file)
isS3(java.lang.String file)
static <T> org.springframework.batch.item.json.JsonItemReader<T>
jsonReader(org.springframework.core.io.Resource resource, - java.lang.Class<T> clazz)
static <T> XmlItemReader<T>
xmlReader(org.springframework.core.io.Resource resource, - java.lang.Class<T> clazz)
static final java.lang.String GS_URI_PREFIX
static final java.lang.String S3_URI_PREFIX
static final java.util.regex.Pattern EXTENSION_PATTERN
static boolean isGzip(java.lang.String file)
static FileExtension extension(org.springframework.core.io.Resource resource)
static java.util.Optional<FileExtension> extensionGroup(java.lang.String file, - java.lang.String group)
static boolean isFile(java.lang.String file)
static boolean isConsole(java.lang.String file)
static boolean isS3(java.lang.String file)
static boolean isGcs(java.lang.String file)
static <T> org.springframework.batch.item.json.JsonItemReader<T> jsonReader(org.springframework.core.io.Resource resource, - java.lang.Class<T> clazz)
static <T> XmlItemReader<T> xmlReader(org.springframework.core.io.Resource resource, - java.lang.Class<T> clazz)
static java.util.stream.Stream<java.lang.String> expand(java.lang.String filename) - throws java.io.IOException
filename
static java.util.List<java.nio.file.Path> expand(java.nio.file.Path path) - throws java.io.IOException
static java.util.stream.Stream<java.lang.String> expandAll(java.lang.Iterable<java.lang.String> files)
ImportProcessorOptions()
getFilterExpression()
getProcessorExpressions()
org.springframework.batch.item.ItemProcessor<Map<String,Object>,Map<String,Object>>
processor(org.springframework.expression.spel.support.StandardEvaluationContext evaluationContext)
setFilterExpression(org.springframework.expression.Expression filter)
setProcessorExpressions(Map<String,org.springframework.expression.Expression> expressions)
java.util.Iterator<T>
public class ItemReaderIterator<T> -extends java.lang.Object -implements java.util.Iterator<T>
ItemReaderIterator(org.springframework.batch.item.ItemReader<T> reader)
hasNext()
T
next()
forEachRemaining, remove
public ItemReaderIterator(org.springframework.batch.item.ItemReader<T> reader) - throws java.lang.Exception
public boolean hasNext()
hasNext
public T next()
next
org.springframework.batch.core.ItemWriteListener<com.redis.spring.batch.reader.KeyComparison>
public class KeyComparisonDiffLogger -extends java.lang.Object -implements org.springframework.batch.core.ItemWriteListener<com.redis.spring.batch.reader.KeyComparison>
KeyComparisonDiffLogger(java.util.logging.Logger logger)
afterWrite(java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
beforeWrite(java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
log(com.redis.spring.batch.reader.KeyComparison comparison)
onWriteError(java.lang.Exception exception, - java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
public KeyComparisonDiffLogger(java.util.logging.Logger logger)
public void beforeWrite(java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
public void afterWrite(java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
public void onWriteError(java.lang.Exception exception, - java.util.List<? extends com.redis.spring.batch.reader.KeyComparison> items)
public void log(com.redis.spring.batch.reader.KeyComparison comparison)
KeyFilterOptions()
List<String>
List<com.redis.spring.batch.common.Range>
getSlots()
setExcludes(List<String> patterns)
setIncludes(List<String> patterns)
setSlots(List<com.redis.spring.batch.common.Range> ranges)
org.springframework.batch.item.file.mapping.FieldSetMapper<java.util.Map<java.lang.String,java.lang.Object>>
public class MapFieldSetMapper -extends java.lang.Object -implements org.springframework.batch.item.file.mapping.FieldSetMapper<java.util.Map<java.lang.String,java.lang.Object>>
MapFieldSetMapper()
java.util.Map<java.lang.String,java.lang.Object>
mapFieldSet(org.springframework.batch.item.file.transform.FieldSet fieldSet)
public MapFieldSetMapper()
public java.util.Map<java.lang.String,java.lang.Object> mapFieldSet(org.springframework.batch.item.file.transform.FieldSet fieldSet)
mapFieldSet
write(org.springframework.batch.item.Chunk<? extends T> items)
org.springframework.batch.item.ItemProcessor<T,T>
PredicateItemProcessor(Predicate<T> predicate)
process(T item)
process
DEFAULT_HOST
DEFAULT_PORT
DEFAULT_TIMEOUT
static final io.lettuce.core.SslVerifyMode
DEFAULT_VERIFY_PEER
RedisClientOptions()
client(io.lettuce.core.RedisURI redisURI)
File
io.lettuce.core.protocol.ProtocolVersion
getProtocolVersion()
getVerifyPeer()
isAutoReconnect()
redisURI()
setAutoReconnect(boolean autoReconnect)
setClientName(String clientName)
setCluster(boolean cluster)
setDatabase(int database)
setHost(String host)
setKey(File key)
setKeyCert(File keyCert)
setKeyPassword(char[] keyPassword)
setKeystore(File keystore)
setKeystorePassword(char[] keystorePassword)
setMetricsStep(Duration metricsStep)
setPassword(char[] password)
setPort(int port)
setProtocolVersion(io.lettuce.core.protocol.ProtocolVersion protocolVersion)
setSocket(String socket)
setTimeout(Duration timeout)
setTls(boolean tls)
setTrustedCerts(File trustedCerts)
setTruststore(File truststore)
setTruststorePassword(char[] truststorePassword)
setUri(String uri)
setUsername(String username)
setVerifyPeer(io.lettuce.core.SslVerifyMode mode)
io.lettuce.core.SslOptions
sslOptions()
DEFAULT_FLUSH_INTERVAL
DEFAULT_IDLE_TIMEOUT
DEFAULT_KEY_PATTERN
static final org.springframework.util.unit.DataSize
DEFAULT_MEMORY_USAGE_LIMIT
DEFAULT_MEMORY_USAGE_SAMPLES
DEFAULT_NOTIFICATION_QUEUE_CAPACITY
DEFAULT_POLL_TIMEOUT
DEFAULT_POOL_SIZE
DEFAULT_QUEUE_CAPACITY
DEFAULT_SCAN_COUNT
getKeyFilterOptions()
getKeyPattern()
com.redis.spring.batch.common.DataType
getKeyType()
org.springframework.util.unit.DataSize
getMemoryUsageLimit()
getMemoryUsageSamples()
getPollTimeout()
getPoolSize()
setFlushInterval(Duration flushInterval)
setIdleTimeout(Duration idleTimeout)
setKeyFilterOptions(KeyFilterOptions keyFilterOptions)
setKeyPattern(String scanMatch)
setKeyType(com.redis.spring.batch.common.DataType type)
setMemoryUsageLimit(org.springframework.util.unit.DataSize memoryUsageLimit)
setMemoryUsageSamples(int memoryUsageSamples)
setNotificationQueueCapacity(int notificationQueueCapacity)
setPollTimeout(Duration pollTimeout)
setPoolSize(int poolSize)
setQueueCapacity(int queueCapacity)
setReadFrom(io.lettuce.core.ReadFrom readFrom)
setScanCount(long count)
DEFAULT_WAIT_TIMEOUT
isMerge()
setMerge(boolean merge)
setMultiExec(boolean enable)
setPoolSize(int size)
setWaitReplicas(int replicas)
setWaitTimeout(Duration timeout)
org.springframework.asm.Opcodes
org.springframework.expression.PropertyAccessor
org.springframework.expression.spel.CompilablePropertyAccessor
public static class ReflectivePropertyAccessor.OptimalPropertyAccessor -extends java.lang.Object -implements org.springframework.expression.spel.CompilablePropertyAccessor
java.lang.reflect.Member
AALOAD, AASTORE, ACC_ABSTRACT, ACC_ANNOTATION, ACC_BRIDGE, ACC_DEPRECATED, ACC_ENUM, ACC_FINAL, ACC_INTERFACE, ACC_MANDATED, ACC_MODULE, ACC_NATIVE, ACC_OPEN, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_RECORD, ACC_STATIC, ACC_STATIC_PHASE, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_SYNTHETIC, ACC_TRANSIENT, ACC_TRANSITIVE, ACC_VARARGS, ACC_VOLATILE, ACONST_NULL, ALOAD, ANEWARRAY, ARETURN, ARRAYLENGTH, ASM10_EXPERIMENTAL, ASM4, ASM5, ASM6, ASM7, ASM8, ASM9, ASTORE, ATHROW, BALOAD, BASTORE, BIPUSH, CALOAD, CASTORE, CHECKCAST, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DLOAD, DMUL, DNEG, DOUBLE, DREM, DRETURN, DSTORE, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F_APPEND, F_CHOP, F_FULL, F_NEW, F_SAME, F_SAME1, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FLOAD, FLOAT, FMUL, FNEG, FREM, FRETURN, FSTORE, FSUB, GETFIELD, GETSTATIC, GOTO, H_GETFIELD, H_GETSTATIC, H_INVOKEINTERFACE, H_INVOKESPECIAL, H_INVOKESTATIC, H_INVOKEVIRTUAL, H_NEWINVOKESPECIAL, H_PUTFIELD, H_PUTSTATIC, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IINC, ILOAD, IMUL, INEG, INSTANCEOF, INTEGER, INVOKEDYNAMIC, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISUB, IUSHR, IXOR, JSR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDC, LDIV, LLOAD, LMUL, LNEG, LONG, LOOKUPSWITCH, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, MULTIANEWARRAY, NEW, NEWARRAY, NOP, NULL, POP, POP2, PUTFIELD, PUTSTATIC, RET, RETURN, SALOAD, SASTORE, SIPUSH, SOURCE_DEPRECATED, SOURCE_MASK, SWAP, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT, TABLESWITCH, TOP, UNINITIALIZED_THIS, V_PREVIEW, V1_1, V1_2, V1_3, V1_4, V1_5, V1_6, V1_7, V1_8, V10, V11, V12, V13, V14, V15, V16, V17, V18, V19, V20, V21, V9
canRead(org.springframework.expression.EvaluationContext context, - java.lang.Object target, - java.lang.String name)
canWrite(org.springframework.expression.EvaluationContext context, - java.lang.Object target, - java.lang.String name)
generateCode(java.lang.String propertyName, - org.springframework.asm.MethodVisitor mv, - org.springframework.expression.spel.CodeFlow cf)
java.lang.Class<?>
getPropertyType()
java.lang.Class<?>[]
getSpecificTargetClasses()
isCompilable()
org.springframework.expression.TypedValue
read(org.springframework.expression.EvaluationContext context, - java.lang.Object target, - java.lang.String name)
write(org.springframework.expression.EvaluationContext context, - java.lang.Object target, - java.lang.String name, - java.lang.Object newValue)
public final java.lang.reflect.Member member
@Nullable -public java.lang.Class<?>[] getSpecificTargetClasses()
getSpecificTargetClasses
public boolean canRead(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name)
canRead
public org.springframework.expression.TypedValue read(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name) - throws org.springframework.expression.AccessException
read
org.springframework.expression.AccessException
public boolean canWrite(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name)
canWrite
public void write(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name, - @Nullable - java.lang.Object newValue)
public boolean isCompilable()
isCompilable
public java.lang.Class<?> getPropertyType()
getPropertyType
public void generateCode(java.lang.String propertyName, - org.springframework.asm.MethodVisitor mv, - org.springframework.expression.spel.CodeFlow cf)
generateCode
public class ReflectivePropertyAccessor -extends java.lang.Object -implements org.springframework.expression.PropertyAccessor
ReflectivePropertyAccessor.OptimalPropertyAccessor
ReflectivePropertyAccessor()
ReflectivePropertyAccessor(boolean allowWrite)
createOptimalAccessor(java.lang.Object target, - java.lang.String name)
protected java.lang.reflect.Field
findField(java.lang.String name, - java.lang.Class<?> clazz, - boolean mustBeStatic)
null
isCandidateForProperty(java.lang.reflect.Method method, - java.lang.Class<?> targetClass)
Method
public ReflectivePropertyAccessor()
ReflectivePropertyAccessor(boolean)
public ReflectivePropertyAccessor(boolean allowWrite)
allowWrite
canWrite(org.springframework.expression.EvaluationContext, java.lang.Object, java.lang.String)
public boolean canRead(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name) - throws org.springframework.expression.AccessException
public boolean canWrite(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name) - throws org.springframework.expression.AccessException
public void write(org.springframework.expression.EvaluationContext context, - @Nullable - java.lang.Object target, - java.lang.String name, - @Nullable - java.lang.Object newValue) - throws org.springframework.expression.AccessException
protected boolean isCandidateForProperty(java.lang.reflect.Method method, - java.lang.Class<?> targetClass)
- The default implementation considers any method as a candidate, even for - non-user-declared properties on the Object base class.
Object
method
targetClass
@Nullable -protected java.lang.reflect.Field findField(java.lang.String name, - java.lang.Class<?> clazz, - boolean mustBeStatic)
public org.springframework.expression.PropertyAccessor createOptimalAccessor(@Nullable - java.lang.Object target, - java.lang.String name)
- Note: An optimal accessor is currently only usable for read attempts. Do not - call this method if you need a read-write accessor.
RiotStep()
Consumer<org.springframework.batch.core.step.builder.SimpleStepBuilder<I,O>>
getConfigurer()
org.springframework.batch.item.ItemProcessor<I,O>
setConfigurer(Consumer<org.springframework.batch.core.step.builder.SimpleStepBuilder<I,O>> configurer)
setProcessor(org.springframework.batch.item.ItemProcessor<I,O> processor)
setReader(org.springframework.batch.item.ItemReader<I> reader)
setWriter(org.springframework.batch.item.ItemWriter<O> writer)
static Predicate<String>
globPredicate(KeyFilterOptions options)
static <K> Predicate<K>
globPredicate(io.lettuce.core.codec.RedisCodec<K,?> codec, + KeyFilterOptions options)
globPredicate(List<String> patterns)
isPositive(Duration duration)
keyFilterPredicate(KeyFilterOptions options)
keyFilterPredicate(io.lettuce.core.codec.RedisCodec<K,?> codec, + KeyFilterOptions options)
static org.springframework.expression.Expression
parse(String expressionString)
static TemplateExpression
parseTemplate(String expressionString)
static <T> Predicate<T>
predicate(org.springframework.expression.EvaluationContext context, + org.springframework.expression.Expression expression)
static <S, +T> org.springframework.batch.item.ItemProcessor<S,T>
processor(Collection<? extends org.springframework.batch.item.ItemProcessor<?,?>> processors)
processor(org.springframework.batch.item.ItemProcessor<?,?>... processors)
slotsPredicate(io.lettuce.core.codec.RedisCodec<K,?> codec, + KeyFilterOptions options)
static <T> org.springframework.batch.item.ItemWriter<T>
writer(Collection<? extends org.springframework.batch.item.ItemWriter<T>> writers)
writer(org.springframework.batch.item.ItemWriter<T>... writers)
public class RuntimeIOException -extends java.lang.RuntimeException
RuntimeIOException()
RuntimeIOException(java.lang.String message)
RuntimeIOException(java.lang.String message, - java.lang.Throwable cause)
RuntimeIOException(java.lang.Throwable cause)
public RuntimeIOException()
public RuntimeIOException(java.lang.String message)
public RuntimeIOException(java.lang.Throwable cause)
public RuntimeIOException(java.lang.String message, - java.lang.Throwable cause)
TemplateExpression()
getExpression()
setExpression(org.springframework.expression.Expression expression)
org.springframework.batch.item.ItemStreamWriter<T>
public class ThrottledItemWriter<T> -extends org.springframework.batch.item.support.AbstractItemStreamItemWriter<T>
ThrottledItemWriter(org.springframework.batch.item.ItemWriter<T> delegate, - java.time.Duration sleepDuration)
ThrottledItemWriter(org.springframework.batch.item.ItemWriter<T> delegate, + Duration sleep)
open(org.springframework.batch.item.ExecutionContext executionContext)
setName(java.lang.String name)
update(org.springframework.batch.item.ExecutionContext executionContext)
getExecutionContextKey, getName, setExecutionContextName
open(org.springframework.batch.item.ExecutionContext executionContext)
update(org.springframework.batch.item.ExecutionContext executionContext)
public ThrottledItemWriter(org.springframework.batch.item.ItemWriter<T> delegate, - java.time.Duration sleepDuration)
public void open(org.springframework.batch.item.ExecutionContext executionContext)
org.springframework.batch.item.ItemStreamSupport
public void update(org.springframework.batch.item.ExecutionContext executionContext)
update
public void close()
public void setName(java.lang.String name)
setName
public class UnknownFileTypeException -extends java.lang.RuntimeException
UnknownFileTypeException(java.lang.String message)
public UnknownFileTypeException(java.lang.String message)
getTargetRedisClientOptions()
setTargetRedisClientOptions(RedisClientOptions targetRedisOptions)
setWriterOptions(RedisWriterOptions writerOptions)
static <T> ExpressionFunction<T,String>
of(org.springframework.expression.EvaluationContext context, + TemplateExpression expression)
org.springframework.core.convert.converter.Converter<java.util.Collection<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
public class CollectionToStringMapConverter -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.util.Collection<java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
DEFAULT_KEY_FORMAT
CollectionToStringMapConverter()
convert(java.util.Collection<java.lang.String> source)
setKeyFormat(java.lang.String keyFormat)
andThen
public static final java.lang.String DEFAULT_KEY_FORMAT
public CollectionToStringMapConverter()
public void setKeyFormat(java.lang.String keyFormat)
public java.util.Map<java.lang.String,java.lang.String> convert(java.util.Collection<java.lang.String> source)
public static class FieldExtractorFactory.FieldExtractorFactoryBuilder -extends java.lang.Object
FieldExtractorFactoryBuilder()
FieldExtractorFactory
FieldExtractorFactory.FieldExtractorFactoryBuilder
nullCheck(boolean nullCheck)
remove(boolean remove)
public FieldExtractorFactoryBuilder()
public FieldExtractorFactory.FieldExtractorFactoryBuilder remove(boolean remove)
public FieldExtractorFactory.FieldExtractorFactoryBuilder nullCheck(boolean nullCheck)
public FieldExtractorFactory build()
public static class FieldExtractorFactory.MissingFieldException -extends java.lang.RuntimeException
MissingFieldException(java.lang.String msg)
public MissingFieldException(java.lang.String msg)
public class FieldExtractorFactory -extends java.lang.Object
FieldExtractorFactory.MissingFieldException
FieldExtractorFactory()
static FieldExtractorFactory.FieldExtractorFactoryBuilder
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Object>
field(java.lang.String field)
<T> java.util.function.Function<java.util.Map<java.lang.String,T>,T>
field(java.lang.String field, - T defaultValue)
setNullCheck(boolean nullCheck)
setRemove(boolean remove)
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>
string(java.lang.String field)
public FieldExtractorFactory()
public void setRemove(boolean remove)
public void setNullCheck(boolean nullCheck)
public java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.Object> field(java.lang.String field)
public java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> string(java.lang.String field)
public <T> java.util.function.Function<java.util.Map<java.lang.String,T>,T> field(java.lang.String field, - T defaultValue)
public static FieldExtractorFactory.FieldExtractorFactoryBuilder builder()
public static class IdConverterBuilder.ConcatenatingConverter -extends java.lang.Object -implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>
ConcatenatingConverter(java.lang.String separator, - java.util.List<java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>> stringConverters)
apply(java.util.Map<java.lang.String,java.lang.Object> source)
andThen, compose
public ConcatenatingConverter(java.lang.String separator, - java.util.List<java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>> stringConverters)
public java.lang.String apply(java.util.Map<java.lang.String,java.lang.Object> source)
apply
public class IdConverterBuilder -extends java.lang.Object
IdConverterBuilder.ConcatenatingConverter
IdConverterBuilder()
IdConverterBuilder
fields(java.lang.String... fields)
prefix(java.lang.String prefix)
prefix(java.util.Optional<java.lang.String> prefix)
separator(java.lang.String separator)
public IdConverterBuilder()
public IdConverterBuilder remove(boolean remove)
public IdConverterBuilder fields(java.lang.String... fields)
public IdConverterBuilder prefix(java.lang.String prefix)
public IdConverterBuilder prefix(java.util.Optional<java.lang.String> prefix)
public IdConverterBuilder separator(java.lang.String separator)
public java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String> build()
public static class MapFilteringConverter.MapFilteringConverterBuilder -extends java.lang.Object
MapFilteringConverterBuilder()
MapFilteringConverter
MapFilteringConverter.MapFilteringConverterBuilder
excludes(java.lang.String... fields)
includes(java.lang.String... fields)
public MapFilteringConverterBuilder()
public MapFilteringConverter.MapFilteringConverterBuilder includes(java.lang.String... fields)
public MapFilteringConverter.MapFilteringConverterBuilder excludes(java.lang.String... fields)
public MapFilteringConverter build()
java.util.function.Function<java.util.Map<java.lang.String,java.lang.String>,java.util.Map<java.lang.String,java.lang.String>>
java.util.function.UnaryOperator<java.util.Map<java.lang.String,java.lang.String>>
public class MapFilteringConverter -extends java.lang.Object -implements java.util.function.UnaryOperator<java.util.Map<java.lang.String,java.lang.String>>
MapFilteringConverter(java.util.Set<java.lang.String> includes, - java.util.Set<java.lang.String> excludes)
apply(java.util.Map<java.lang.String,java.lang.String> source)
static MapFilteringConverter.MapFilteringConverterBuilder
public MapFilteringConverter(java.util.Set<java.lang.String> includes, - java.util.Set<java.lang.String> excludes)
public java.util.Map<java.lang.String,java.lang.String> apply(java.util.Map<java.lang.String,java.lang.String> source)
public static MapFilteringConverter.MapFilteringConverterBuilder builder()
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,T>>
public class MapFlattener<T> -extends java.lang.Object -implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,T>>
MapFlattener(java.util.function.Function<java.lang.Object,T> elementConverter)
java.util.Map<java.lang.String,T>
public MapFlattener(java.util.function.Function<java.lang.Object,T> elementConverter)
public java.util.Map<java.lang.String,T> apply(java.util.Map<java.lang.String,java.lang.Object> source)
java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String[]>
public class MapToStringArrayConverter -extends java.lang.Object -implements java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String[]>
MapToStringArrayConverter(java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>[] fieldConverters)
public MapToStringArrayConverter(java.util.function.Function<java.util.Map<java.lang.String,java.lang.Object>,java.lang.String>[] fieldConverters)
public java.lang.String[] apply(java.util.Map<java.lang.String,java.lang.Object> source)
java.util.function.Function<T,java.lang.String>
public class ObjectMapperConverter<T> -extends java.lang.Object -implements java.util.function.Function<T,java.lang.String>
ObjectMapperConverter(com.fasterxml.jackson.databind.ObjectWriter writer)
apply(T source)
public ObjectMapperConverter(com.fasterxml.jackson.databind.ObjectWriter writer)
public java.lang.String apply(T source)
java.util.function.Function<java.lang.Object,T>
public class ObjectToNumberConverter<T extends java.lang.Number> -extends java.lang.Object -implements java.util.function.Function<java.lang.Object,T>
ObjectToNumberConverter(java.lang.Class<T> targetType)
apply(java.lang.Object source)
public ObjectToNumberConverter(java.lang.Class<T> targetType)
public T apply(java.lang.Object source)
java.util.function.Function<java.lang.Object,T extends java.lang.Number>
java.util.function.Function<java.lang.Object,java.lang.String>
public class ObjectToStringConverter -extends java.lang.Object -implements java.util.function.Function<java.lang.Object,java.lang.String>
ObjectToStringConverter()
public ObjectToStringConverter()
public java.lang.String apply(java.lang.Object source)
org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
public class RegexNamedGroupsExtractor -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
RegexNamedGroupsExtractor(java.util.regex.Pattern pattern, - java.util.Set<java.lang.String> namedGroups)
convert(java.lang.String source)
static RegexNamedGroupsExtractor
of(java.lang.String regex)
setNamedGroups(java.util.Set<java.lang.String> namedGroups)
setPattern(java.util.regex.Pattern pattern)
public RegexNamedGroupsExtractor(java.util.regex.Pattern pattern, - java.util.Set<java.lang.String> namedGroups)
public void setPattern(java.util.regex.Pattern pattern)
public void setNamedGroups(java.util.Set<java.lang.String> namedGroups)
public static RegexNamedGroupsExtractor of(java.lang.String regex)
public java.util.Map<java.lang.String,java.lang.String> convert(java.lang.String source)
org.springframework.core.convert.converter.Converter<java.util.List<io.lettuce.core.StreamMessage<java.lang.String,java.lang.String>>,java.util.Map<java.lang.String,java.lang.String>>
public class StreamToStringMapConverter -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.util.List<io.lettuce.core.StreamMessage<java.lang.String,java.lang.String>>,java.util.Map<java.lang.String,java.lang.String>>
StreamToStringMapConverter()
convert(java.util.List<io.lettuce.core.StreamMessage<java.lang.String,java.lang.String>> source)
public StreamToStringMapConverter()
public java.util.Map<java.lang.String,java.lang.String> convert(java.util.List<io.lettuce.core.StreamMessage<java.lang.String,java.lang.String>> source)
public class StringToStringMapConverter -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
static org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.String>
DEFAULT_KEY_EXTRACTOR
StringToStringMapConverter()
setKeyExtractor(org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.String> keyExtractor)
public static final org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.String> DEFAULT_KEY_EXTRACTOR
public StringToStringMapConverter()
public void setKeyExtractor(org.springframework.core.convert.converter.Converter<java.lang.String,java.lang.String> keyExtractor)
org.springframework.core.convert.converter.Converter<java.util.List<com.redis.lettucemod.timeseries.Sample>,java.util.Map<java.lang.String,java.lang.String>>
public class TimeSeriesToStringMapConverter -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.util.List<com.redis.lettucemod.timeseries.Sample>,java.util.Map<java.lang.String,java.lang.String>>
TimeSeriesToStringMapConverter()
convert(java.util.List<com.redis.lettucemod.timeseries.Sample> source)
public TimeSeriesToStringMapConverter()
public java.util.Map<java.lang.String,java.lang.String> convert(java.util.List<com.redis.lettucemod.timeseries.Sample> source)
org.springframework.core.convert.converter.Converter<java.util.List<io.lettuce.core.ScoredValue<java.lang.String>>,java.util.Map<java.lang.String,java.lang.String>>
public class ZsetToStringMapConverter -extends java.lang.Object -implements org.springframework.core.convert.converter.Converter<java.util.List<io.lettuce.core.ScoredValue<java.lang.String>>,java.util.Map<java.lang.String,java.lang.String>>
DEFAULT_SCORE_FORMAT
DEFAULT_SCORE_KEY_FORMAT
DEFAULT_VALUE_KEY_FORMAT
ZsetToStringMapConverter()
convert(java.util.List<io.lettuce.core.ScoredValue<java.lang.String>> source)
setScoreFormat(java.lang.String scoreFormat)
setScoreKeyFormat(java.lang.String scoreKeyFormat)
setValueKeyFormat(java.lang.String valueKeyFormat)
public static final java.lang.String DEFAULT_SCORE_KEY_FORMAT
public static final java.lang.String DEFAULT_VALUE_KEY_FORMAT
public static final java.lang.String DEFAULT_SCORE_FORMAT
public ZsetToStringMapConverter()
public void setScoreKeyFormat(java.lang.String scoreKeyFormat)
public void setValueKeyFormat(java.lang.String valueKeyFormat)
public void setScoreFormat(java.lang.String scoreFormat)
public java.util.Map<java.lang.String,java.lang.String> convert(java.util.List<io.lettuce.core.ScoredValue<java.lang.String>> source)
setList(CollectionToStringMapConverter listConverter)
setSet(CollectionToStringMapConverter setConverter)
setStream(StreamToStringMapConverter streamConverter)
setZset(ZsetToStringMapConverter zsetConverter)
Function<Collection<String>,Map<String,String>>
CollectionToMapFunction()
Map<String,String>
apply(Collection<String> source)
setKeyFormat(String keyFormat)
Function<com.redis.spring.batch.common.KeyValue<String>,Object>
DropStreamMessageIdFunction()
apply(com.redis.spring.batch.common.KeyValue<String> t)
Function<T,R>
LongExpressionFunction
ExpressionFunction(org.springframework.expression.EvaluationContext context, + org.springframework.expression.Expression expression, + Class<R> type)
R
apply(T t)
protected R
getValue(T t)
of(org.springframework.expression.EvaluationContext context, + org.springframework.expression.Expression expression)
nullCheck(boolean nullCheck)
remove(boolean remove)
MissingFieldException(String msg)
ToDoubleFunction<Map<String,Object>>
doubleField(String field, + double defaultValue)
Function<Map<String,Object>,Object>
field(String field)
<T> Function<Map<String,T>,T>
field(String field, + T defaultValue)
ToLongFunction<Map<String,Object>>
longField(String field, + long defaultValue)
setNullCheck(boolean nullCheck)
setRemove(boolean remove)
Function<Map<String,Object>,String>
string(String field)
ConcatenatingFunction(String separator, + List<Function<Map<String,Object>,String>> toStringFunctions)
apply(Map<String,Object> source)
IdFunctionBuilder.ConcatenatingFunction
IdFunctionBuilder()
IdFunctionBuilder
fields(String... fields)
fields(List<String> fields)
prefix(String prefix)
separator(String separator)
Function<com.redis.spring.batch.common.KeyValue<String>,com.redis.spring.batch.common.KeyValue<String>>
UnaryOperator<com.redis.spring.batch.common.KeyValue<String>>
KeyValueOperator()
com.redis.spring.batch.common.KeyValue<String>
setKeyFunction(Function<com.redis.spring.batch.common.KeyValue<String>,String> key)
setTtlFunction(ToLongFunction<com.redis.spring.batch.common.KeyValue<String>> ttl)
setTypeFunction(Function<com.redis.spring.batch.common.KeyValue<String>,com.redis.spring.batch.common.DataType> typeFunction)
setValueFunction(Function<com.redis.spring.batch.common.KeyValue<String>,Object> value)
Function<T,Long>
ToLongFunction<T>
LongExpressionFunction(org.springframework.expression.EvaluationContext context, + org.springframework.expression.Expression expression)
applyAsLong(T value)
apply, getValue, of, of
applyAsLong
Function<Map<String,String>,Map<String,String>>
UnaryOperator<Map<String,String>>
MapFilteringFunction()
apply(Map<String,String> source)
MapFilteringFunction
excludes(Collection<String> fields)
includes(Collection<String> fields)
Function<Map<String,Object>,Map<String,T>>
MapFlatteningFunction(Function<Object,T> elementFunction)
Map<String,T>
Function<Map<String,Object>,Map<String,Object>>
UnaryOperator<Map<String,Object>>
MapFunction(Map<String,Function<Map<String,Object>,Object>> fields)
apply(Map<String,Object> t)
Function<T,String>
ObjectMapperFunction(com.fasterxml.jackson.databind.ObjectWriter writer)
apply(T source)
ToDoubleFunction<Object>
ObjectToDoubleFunction(double defaultValue)
applyAsDouble(Object value)
applyAsDouble
ToLongFunction<Object>
ObjectToLongFunction(long defaultValue)
applyAsLong(Object source)
Function<Object,String>
ObjectToStringFunction()
apply(Object source)
Function<String,Map<String,String>>
RegexNamedGroupFunction(Pattern pattern)
apply(String string)
Function<List<io.lettuce.core.StreamMessage<String,String>>,Map<String,String>>
StreamToMapFunction()
apply(List<io.lettuce.core.StreamMessage<String,String>> source)
Function<com.redis.spring.batch.common.KeyValue<String>,com.redis.spring.batch.common.KeyValue<K>>
StringKeyValueFunction(io.lettuce.core.codec.RedisCodec<K,?> codec)
com.redis.spring.batch.common.KeyValue<K>
DEFAULT_KEY
static final UnaryOperator<String>
StringToMapFunction()
apply(String t)
setKeyExtractor(UnaryOperator<String> keyExtractor)
Function<com.redis.spring.batch.common.KeyValue<String>,Map<String,Object>>
StructToMapFunction()
setDefaultFunction(Function<Object,Map<String,String>> function)
setHash(UnaryOperator<Map<String,String>> function)
setKey(Function<String,Map<String,String>> key)
setList(CollectionToMapFunction function)
setSet(CollectionToMapFunction function)
setStream(StreamToMapFunction function)
setString(Function<String,Map<String,String>> function)
setZset(ZsetToMapFunction function)
Function<com.redis.spring.batch.common.KeyValue<K>,com.redis.spring.batch.common.KeyValue<String>>
ToStringKeyValueFunction(io.lettuce.core.codec.RedisCodec<K,?> codec)
apply(com.redis.spring.batch.common.KeyValue<K> t)
Function<List<io.lettuce.core.ScoredValue<String>>,Map<String,String>>
ZsetToMapFunction()
apply(List<io.lettuce.core.ScoredValue<String>> source)
setScoreFormat(String scoreFormat)
setScoreKeyFormat(String scoreKeyFormat)
setValueKeyFormat(String valueKeyFormat)
LongExpressionFunction<T>
public class RiotLevel -extends java.util.logging.Level
LIFECYCLE
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
RiotLevel(java.lang.String name, - int value)
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final java.util.logging.Level LIFECYCLE
public RiotLevel(java.lang.String name, - int value)
public class SingleLineFormatter -extends java.util.logging.Formatter
SingleLineFormatter()
format(java.util.logging.LogRecord logRecord)
formatMessage, getHead, getTail
public SingleLineFormatter()
public java.lang.String format(java.util.logging.LogRecord logRecord)
format
java.util.logging.Formatter
public class StackTraceSingleLineFormatter -extends java.util.logging.Formatter
StackTraceSingleLineFormatter()
public StackTraceSingleLineFormatter()
GeoaddBuilder
LpushBuilder
RpushBuilder
SaddBuilder
ZaddSupplier
DEFAULT_IGNORE_MISSING_FIELDS, DEFAULT_REMOVE_FIELDS, DEFAULT_SEPARATOR
AbstractCollectionMapOperationBuilder()
protected Function<Map<String,Object>,String>
setMemberFields(List<String> memberFields)
setMemberSpace(String memberSpace)
build, idFunction, operation, setIgnoreMissingFields, setKeyFields, setKeyFields, setKeySeparator, setKeyspace, setRemoveFields, toDouble, toLong, toString
HsetBuilder
XaddSupplier
AbstractFilterMapOperationBuilder()
protected Function<Map<String,Object>,Map<String,String>>
map()
setExcludes(List<String> excludes)
setIncludes(List<String> includes)
AbstractCollectionMapOperationBuilder
AbstractFilterMapOperationBuilder
DelBuilder
ExpireAtBuilder
ExpireBuilder
JsonSetBuilder
SetBuilder
SugaddBuilder
TsAddBuilder
AbstractMapOperationBuilder()
idFunction(String prefix, + List<String> fields)
protected abstract com.redis.spring.batch.writer.operation.AbstractKeyWriteOperation<String,String,Map<String,Object>>
operation(Function<Map<String,Object>,String> keyFunction)
setIgnoreMissingFields(boolean ignoreMissingFields)
setKeyFields(String... keys)
setKeyFields(List<String> keys)
setKeySeparator(String keySeparator)
setKeyspace(String keyspace)
setRemoveFields(boolean removeFields)
protected ToDoubleFunction<Map<String,Object>>
toDouble(String field, + double defaultValue)
protected ToLongFunction<Map<String,Object>>
toLong(String field, + long defaultValue)
toString(String field)
com.redis.spring.batch.common.Operation<K,V,T,Object>
CompositeBatchWriteOperation(List<com.redis.spring.batch.common.Operation<K,V,T,Object>> delegates)
execute(io.lettuce.core.api.async.BaseRedisAsyncCommands<K,V> commands, + org.springframework.batch.item.Chunk<? extends T> inputs, + org.springframework.batch.item.Chunk<io.lettuce.core.RedisFuture<Object>> outputs)
DelBuilder()
protected com.redis.spring.batch.writer.operation.Del<String,String,Map<String,Object>>
build, idFunction, setIgnoreMissingFields, setKeyFields, setKeyFields, setKeySeparator, setKeyspace, setRemoveFields, toDouble, toLong, toString
AbstractMapOperationBuilder
ExpireAtBuilder()
protected com.redis.spring.batch.writer.operation.ExpireAt<String,String,Map<String,Object>>
ttl(String field)
ExpireBuilder()
protected com.redis.spring.batch.writer.operation.Expire<String,String,Map<String,Object>>
setDefaultTtl(Duration defaultTtl)
setTtlField(String ttl)
GeoaddBuilder()
protected com.redis.spring.batch.writer.operation.Geoadd<String,String,Map<String,Object>>
setLatitude(String latitude)
setLongitude(String longitude)
member, setMemberFields, setMemberSpace
HsetBuilder()
protected com.redis.spring.batch.writer.operation.Hset<String,String,Map<String,Object>>
map, setExcludes, setIncludes
JsonSetBuilder()
protected com.redis.spring.batch.writer.operation.JsonSet<String,String,Map<String,Object>>
setPath(String path)
LpushBuilder()
protected com.redis.spring.batch.writer.operation.Lpush<String,String,Map<String,Object>>
RpushBuilder()
protected com.redis.spring.batch.writer.operation.Rpush<String,String,Map<String,Object>>
SaddBuilder()
protected com.redis.spring.batch.writer.operation.Sadd<String,String,Map<String,Object>>
Comparable<SetBuilder.StringFormat>
static SetBuilder.StringFormat
static SetBuilder.StringFormat[]
SetBuilder.StringFormat
SetBuilder()
protected com.redis.spring.batch.writer.operation.Set<String,String,Map<String,Object>>
setField(String field)
setFormat(SetBuilder.StringFormat format)
setRoot(String root)
SugaddBuilder()
protected com.redis.spring.batch.writer.operation.Sugadd<String,String,Map<String,Object>>
setDefaultScore(double defaultScore)
setPayloadField(String payloadField)
setScoreField(String scoreField)
setStringField(String stringField)
static final com.redis.lettucemod.timeseries.DuplicatePolicy
TsAddBuilder()
protected com.redis.spring.batch.writer.operation.TsAdd<String,String,Map<String,Object>>
setDuplicatePolicy(com.redis.lettucemod.timeseries.DuplicatePolicy policy)
setLabels(Map<String,String> labels)
setTimestampField(String field)
setValueField(String field)
XaddSupplier()
protected com.redis.spring.batch.writer.operation.Xadd<String,String,Map<String,Object>>
ZaddSupplier()
protected com.redis.spring.batch.writer.operation.Zadd<String,String,Map<String,Object>>
org.springframework.beans.factory.InitializingBean
public class CompositeItemStreamItemProcessor<I,O> -extends org.springframework.batch.item.support.CompositeItemProcessor<I,O> -implements org.springframework.batch.item.ItemStream
CompositeItemStreamItemProcessor()
static <I,O>org.springframework.batch.item.ItemProcessor<I,O>
delegates(org.springframework.batch.item.ItemProcessor... delegates)
setDelegates(java.util.List<? extends org.springframework.batch.item.ItemProcessor<?,?>> delegates)
afterPropertiesSet, process
public CompositeItemStreamItemProcessor()
public void open(org.springframework.batch.item.ExecutionContext executionContext) - throws org.springframework.batch.item.ItemStreamException
org.springframework.batch.item.ItemStreamException
public void update(org.springframework.batch.item.ExecutionContext executionContext) - throws org.springframework.batch.item.ItemStreamException
public void close() - throws org.springframework.batch.item.ItemStreamException
public void setDelegates(java.util.List<? extends org.springframework.batch.item.ItemProcessor<?,?>> delegates)
setDelegates
org.springframework.batch.item.support.CompositeItemProcessor<I,O>
public static <I,O> org.springframework.batch.item.ItemProcessor<I,O> delegates(org.springframework.batch.item.ItemProcessor... delegates)
org.springframework.batch.item.ItemProcessor<com.redis.spring.batch.common.KeyValue<java.lang.String>,java.util.Map<java.lang.String,java.lang.Object>>
public class DataStructureToMapProcessor -extends java.lang.Object -implements org.springframework.batch.item.ItemProcessor<com.redis.spring.batch.common.KeyValue<java.lang.String>,java.util.Map<java.lang.String,java.lang.Object>>
DataStructureToMapProcessor(org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> keyFieldsExtractor)
static DataStructureToMapProcessor
of(java.lang.String keyRegex)
process(com.redis.spring.batch.common.KeyValue<java.lang.String> item)
setDefaultConverter(org.springframework.core.convert.converter.Converter<java.lang.Object,java.util.Map<java.lang.String,java.lang.String>> defaultConverter)
setHashConverter(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,java.lang.String>,java.util.Map<java.lang.String,java.lang.String>> hashConverter)
setString(org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stringConverter)
public DataStructureToMapProcessor(org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> keyFieldsExtractor)
public void setHashConverter(org.springframework.core.convert.converter.Converter<java.util.Map<java.lang.String,java.lang.String>,java.util.Map<java.lang.String,java.lang.String>> hashConverter)
public void setStream(StreamToStringMapConverter streamConverter)
public void setList(CollectionToStringMapConverter listConverter)
public void setSet(CollectionToStringMapConverter setConverter)
public void setZset(ZsetToStringMapConverter zsetConverter)
public void setString(org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stringConverter)
public void setDefaultConverter(org.springframework.core.convert.converter.Converter<java.lang.Object,java.util.Map<java.lang.String,java.lang.String>> defaultConverter)
public java.util.Map<java.lang.String,java.lang.Object> process(com.redis.spring.batch.common.KeyValue<java.lang.String> item) - throws java.lang.Exception
public static DataStructureToMapProcessor of(java.lang.String keyRegex)
org.springframework.batch.item.ItemProcessor<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
public class FilteringProcessor -extends java.lang.Object -implements org.springframework.batch.item.ItemProcessor<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
FilteringProcessor(java.lang.String... filters)
process(java.util.Map<java.lang.String,java.lang.Object> item)
public FilteringProcessor(java.lang.String... filters)
public java.util.Map<java.lang.String,java.lang.Object> process(java.util.Map<java.lang.String,java.lang.Object> item) - throws java.lang.Exception
org.springframework.batch.item.ItemProcessor<com.redis.spring.batch.common.KeyValue<byte[]>,com.redis.spring.batch.common.KeyValue<byte[]>>
public class KeyValueProcessor -extends java.lang.Object -implements org.springframework.batch.item.ItemProcessor<com.redis.spring.batch.common.KeyValue<byte[]>,com.redis.spring.batch.common.KeyValue<byte[]>>
KeyValueProcessor(org.springframework.expression.Expression expression, - org.springframework.expression.EvaluationContext context)
com.redis.spring.batch.common.KeyValue<byte[]>
process(com.redis.spring.batch.common.KeyValue<byte[]> item)
public KeyValueProcessor(org.springframework.expression.Expression expression, - org.springframework.expression.EvaluationContext context)
public com.redis.spring.batch.common.KeyValue<byte[]> process(com.redis.spring.batch.common.KeyValue<byte[]> item) - throws java.lang.Exception
public class MapAccessor -extends java.lang.Object -implements org.springframework.expression.spel.CompilablePropertyAccessor
MapAccessor()
public MapAccessor()
public java.lang.Class<?>[] getSpecificTargetClasses()
public class MapProcessor -extends java.lang.Object -implements org.springframework.batch.item.ItemProcessor<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
MapProcessor(java.util.Map<java.lang.String,org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>> extractors)
public MapProcessor(java.util.Map<java.lang.String,org.springframework.core.convert.converter.Converter<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>> extractors)
public java.util.Map<java.lang.String,java.lang.Object> process(java.util.Map<java.lang.String,java.lang.Object> item)
public class SpelProcessor -extends java.lang.Object -implements org.springframework.batch.item.ItemProcessor<java.util.Map<java.lang.String,java.lang.Object>,java.util.Map<java.lang.String,java.lang.Object>>
SpelProcessor(org.springframework.expression.EvaluationContext context, - java.util.Map<java.lang.String,org.springframework.expression.Expression> expressions)
public SpelProcessor(org.springframework.expression.EvaluationContext context, - java.util.Map<java.lang.String,org.springframework.expression.Expression> expressions)
protected class AbstractResourceItemWriter.OutputState -extends java.lang.Object
OutputState()
getLinesWritten()
isInitialized()
position()
restoreFrom(org.springframework.batch.item.ExecutionContext executionContext)
setAppendAllowed(boolean append)
setDeleteIfExists(boolean shouldDeleteIfExists)
setEncoding(java.lang.String encoding)
setLinesWritten(long linesWritten)
write(java.lang.String line)
protected OutputState()
public long position() - throws java.io.IOException
public void setAppendAllowed(boolean append)
append
public void restoreFrom(org.springframework.batch.item.ExecutionContext executionContext)
executionContext
public void setDeleteIfExists(boolean shouldDeleteIfExists)
shouldDeleteIfExists
public void setEncoding(java.lang.String encoding)
public long getLinesWritten()
public void setLinesWritten(long linesWritten)
public void write(java.lang.String line) - throws java.io.IOException
line
public boolean isInitialized()
org.springframework.batch.item.file.ResourceAwareItemWriterItemStream<T>
FlatResourceItemWriter
public abstract class AbstractResourceItemWriter<T> -extends org.springframework.batch.item.support.AbstractItemStreamItemWriter<T> -implements org.springframework.batch.item.file.ResourceAwareItemWriterItemStream<T>, org.springframework.beans.factory.InitializingBean
protected class
AbstractResourceItemWriter.OutputState
DEFAULT_CHARSET
DEFAULT_TRANSACTIONAL
lineSeparator
protected static java.util.logging.Logger
logger
protected AbstractResourceItemWriter.OutputState
state
AbstractResourceItemWriter()
protected abstract java.lang.String
doWrite(java.util.List<? extends T> items)
getOutputState()
setEncoding(java.lang.String newEncoding)
setFooterCallback(org.springframework.batch.item.file.FlatFileFooterCallback footerCallback)
setHeaderCallback(org.springframework.batch.item.file.FlatFileHeaderCallback headerCallback)
setResource(org.springframework.core.io.Resource resource)
setSaveState(boolean saveState)
ExecutionContext
ItemStream
setShouldDeleteIfEmpty(boolean shouldDeleteIfEmpty)
setShouldDeleteIfExists(boolean shouldDeleteIfExists)
setTransactional(boolean transactional)
afterPropertiesSet
public static final boolean DEFAULT_TRANSACTIONAL
protected static final java.util.logging.Logger logger
public static final java.lang.String DEFAULT_CHARSET
protected AbstractResourceItemWriter.OutputState state
protected boolean shouldDeleteIfExists
protected java.lang.String lineSeparator
protected boolean append
public AbstractResourceItemWriter()
public void setResource(org.springframework.core.io.Resource resource)
setResource
resource
public void setEncoding(java.lang.String newEncoding)
newEncoding
public void setShouldDeleteIfExists(boolean shouldDeleteIfExists)
appendAllowed
public void setShouldDeleteIfEmpty(boolean shouldDeleteIfEmpty)
shouldDeleteIfEmpty
public void setSaveState(boolean saveState)
saveState
public void setHeaderCallback(org.springframework.batch.item.file.FlatFileHeaderCallback headerCallback)
headerCallback
FlatFileHeaderCallback
public void setFooterCallback(org.springframework.batch.item.file.FlatFileFooterCallback footerCallback)
footerCallback
FlatFileFooterCallback
public void setTransactional(boolean transactional)
transactional
items
protected abstract java.lang.String doWrite(java.util.List<? extends T> items)
ItemStream.close()
ItemStream.open(ExecutionContext)
ItemStream.update(ExecutionContext)
protected AbstractResourceItemWriter.OutputState getOutputState()
java.io.Closeable
java.io.Flushable
public final class CountingOutputStream -extends java.io.FilterOutputStream
out
CountingOutputStream(java.io.OutputStream out)
write(byte[] b, - int off, - int len)
write(int b)
flush, write
nullOutputStream
public CountingOutputStream(java.io.OutputStream out)
public long getCount()
public void write(byte[] b, - int off, - int len) - throws java.io.IOException
java.io.FilterOutputStream
public void write(int b) - throws java.io.IOException
public void close() - throws java.io.IOException
org.springframework.core.io.InputStreamSource
public class FilenameInputStreamResource -extends org.springframework.core.io.InputStreamResource
FilenameInputStreamResource(java.io.InputStream inputStream, - java.lang.String filename, - java.lang.String description)
equals(java.lang.Object obj)
getFilename()
hashCode()
exists, getDescription, getInputStream, isOpen
contentLength, createRelative, getFile, getFileForLastModifiedCheck, getURI, getURL, isFile, isReadable, lastModified, readableChannel, toString
public FilenameInputStreamResource(java.io.InputStream inputStream, - java.lang.String filename, - java.lang.String description)
public java.lang.String getFilename()
getFilename
org.springframework.core.io.AbstractResource
public int hashCode()
hashCode
org.springframework.core.io.InputStreamResource
public boolean equals(java.lang.Object obj)
equals
public class FlatResourceItemWriter<T> -extends AbstractResourceItemWriter<T>
protected org.springframework.batch.item.file.transform.LineAggregator<T>
lineAggregator
append, DEFAULT_CHARSET, DEFAULT_LINE_SEPARATOR, DEFAULT_TRANSACTIONAL, lineSeparator, logger, shouldDeleteIfExists, state
FlatResourceItemWriter()
afterPropertiesSet()
setLineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
LineAggregator
close, getOutputState, open, setAppendAllowed, setEncoding, setFooterCallback, setHeaderCallback, setLineSeparator, setResource, setSaveState, setShouldDeleteIfEmpty, setShouldDeleteIfExists, setTransactional, update, write
protected org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator
public FlatResourceItemWriter()
public void afterPropertiesSet() - throws java.lang.Exception
InitializingBean.afterPropertiesSet()
public void setLineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
public java.lang.String doWrite(java.util.List<? extends T> items)
AbstractResourceItemWriter
doWrite
AbstractResourceItemWriter<T>
FlatResourceItemWriterBuilder
public static class FlatResourceItemWriterBuilder.DelimitedBuilder<T> -extends java.lang.Object
DelimitedBuilder(FlatResourceItemWriterBuilder<T> parent)
org.springframework.batch.item.file.transform.DelimitedLineAggregator<T>
FlatResourceItemWriterBuilder.DelimitedBuilder<T>
FlatResourceItemWriterBuilder<T>
fieldExtractor(org.springframework.batch.item.file.transform.FieldExtractor<T> fieldExtractor)
FieldExtractor
names(java.lang.String[] names)
protected DelimitedBuilder(FlatResourceItemWriterBuilder<T> parent)
public FlatResourceItemWriterBuilder.DelimitedBuilder<T> delimiter(java.lang.String delimiter)
delimiter
DelimitedLineAggregator.setDelimiter(String)
public FlatResourceItemWriterBuilder<T> names(java.lang.String[] names)
BeanWrapperFieldExtractor
fieldExtractor(FieldExtractor)
names
BeanWrapperFieldExtractor.setNames(String[])
public FlatResourceItemWriterBuilder<T> fieldExtractor(org.springframework.batch.item.file.transform.FieldExtractor<T> fieldExtractor)
fieldExtractor
public org.springframework.batch.item.file.transform.DelimitedLineAggregator<T> build()
public static class FlatResourceItemWriterBuilder.FormattedBuilder<T> -extends java.lang.Object
FormattedBuilder(FlatResourceItemWriterBuilder<T> parent)
org.springframework.batch.item.file.transform.FormatterLineAggregator<T>
FlatResourceItemWriterBuilder.FormattedBuilder<T>
format(java.lang.String format)
locale(java.util.Locale locale)
maximumLength(int maximumLength)
minimumLength(int minimumLength)
protected FormattedBuilder(FlatResourceItemWriterBuilder<T> parent)
public FlatResourceItemWriterBuilder.FormattedBuilder<T> format(java.lang.String format)
public FlatResourceItemWriterBuilder.FormattedBuilder<T> locale(java.util.Locale locale)
locale
public FlatResourceItemWriterBuilder.FormattedBuilder<T> minimumLength(int minimumLength)
minimumLength
public FlatResourceItemWriterBuilder.FormattedBuilder<T> maximumLength(int maximumLength)
maximumLength
public org.springframework.batch.item.file.transform.FormatterLineAggregator<T> build()
public class FlatResourceItemWriterBuilder<T> -extends java.lang.Object
FlatResourceItemWriterBuilder()
append(boolean append)
FlatResourceItemWriter<T>
delimited()
FlatResourceItemWriterBuilder.DelimitedBuilder
encoding(java.lang.String encoding)
footerCallback(org.springframework.batch.item.file.FlatFileFooterCallback callback)
formatted()
FlatResourceItemWriterBuilder.FormattedBuilder
headerCallback(org.springframework.batch.item.file.FlatFileHeaderCallback callback)
lineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
lineSeparator(java.lang.String lineSeparator)
resource(org.springframework.core.io.Resource resource)
saveState(boolean saveState)
ItemStreamSupport
shouldDeleteIfEmpty(boolean shouldDelete)
shouldDeleteIfExists(boolean shouldDelete)
public FlatResourceItemWriterBuilder()
public FlatResourceItemWriterBuilder<T> saveState(boolean saveState)
public FlatResourceItemWriterBuilder<T> name(java.lang.String name)
saveState(boolean)
ItemStreamSupport.setName(String)
public FlatResourceItemWriterBuilder<T> resource(org.springframework.core.io.Resource resource)
AbstractResourceItemWriter.setResource(Resource)
public FlatResourceItemWriterBuilder<T> lineSeparator(java.lang.String lineSeparator)
AbstractResourceItemWriter.setLineSeparator(String)
public FlatResourceItemWriterBuilder<T> lineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
FlatResourceItemWriter.setLineAggregator(LineAggregator)
public FlatResourceItemWriterBuilder<T> encoding(java.lang.String encoding)
AbstractResourceItemWriter.setEncoding(String)
public FlatResourceItemWriterBuilder<T> shouldDeleteIfEmpty(boolean shouldDelete)
shouldDelete
AbstractResourceItemWriter.setShouldDeleteIfEmpty(boolean)
public FlatResourceItemWriterBuilder<T> shouldDeleteIfExists(boolean shouldDelete)
AbstractResourceItemWriter.setShouldDeleteIfExists(boolean)
public FlatResourceItemWriterBuilder<T> append(boolean append)
AbstractResourceItemWriter.setAppendAllowed(boolean)
public FlatResourceItemWriterBuilder<T> headerCallback(org.springframework.batch.item.file.FlatFileHeaderCallback callback)
callback
AbstractResourceItemWriter.setHeaderCallback(FlatFileHeaderCallback)
public FlatResourceItemWriterBuilder<T> footerCallback(org.springframework.batch.item.file.FlatFileFooterCallback callback)
AbstractResourceItemWriter.setFooterCallback(FlatFileFooterCallback)
public FlatResourceItemWriterBuilder.DelimitedBuilder<T> delimited()
public FlatResourceItemWriterBuilder.FormattedBuilder<T> formatted()
public FlatResourceItemWriter<T> build()
public class JsonResourceItemWriter<T> -extends AbstractResourceItemWriter<T>
JsonObjectMarshaller
- - [ - {json object}, - {json object}, - {json object} - ] - -
- [ - {json object}, - {json object}, - {json object} - ] -
GsonJsonObjectMarshaller
JacksonJsonObjectMarshaller
JsonResourceItemWriter(org.springframework.core.io.WritableResource resource, - org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
setJsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
public JsonResourceItemWriter(org.springframework.core.io.WritableResource resource, - org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
jsonObjectMarshaller
public void setJsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
public class JsonResourceItemWriterBuilder<T> -extends java.lang.Object
JsonResourceItemWriterBuilder()
JsonResourceItemWriterBuilder<T>
JsonResourceItemWriter<T>
jsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
public JsonResourceItemWriterBuilder()
public JsonResourceItemWriterBuilder<T> saveState(boolean saveState)
public JsonResourceItemWriterBuilder<T> name(java.lang.String name)
public JsonResourceItemWriterBuilder<T> lineSeparator(java.lang.String lineSeparator)
line.separator
public JsonResourceItemWriterBuilder<T> jsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
JsonResourceItemWriter.setJsonObjectMarshaller(JsonObjectMarshaller)
public JsonResourceItemWriterBuilder<T> resource(org.springframework.core.io.Resource resource)
public JsonResourceItemWriterBuilder<T> encoding(java.lang.String encoding)
public JsonResourceItemWriterBuilder<T> shouldDeleteIfEmpty(boolean shouldDelete)
public JsonResourceItemWriterBuilder<T> shouldDeleteIfExists(boolean shouldDelete)
public JsonResourceItemWriterBuilder<T> append(boolean append)
public JsonResourceItemWriterBuilder<T> headerCallback(org.springframework.batch.item.file.FlatFileHeaderCallback callback)
public JsonResourceItemWriterBuilder<T> footerCallback(org.springframework.batch.item.file.FlatFileFooterCallback callback)
public JsonResourceItemWriter<T> build()
public class OutputStreamResource -extends org.springframework.core.io.AbstractResource -implements org.springframework.core.io.WritableResource
OutputStreamResource(java.io.OutputStream outStream, - java.lang.String filename, - java.lang.String desc)
getDescription()
java.io.InputStream
getInputStream()
java.io.OutputStream
getOutputStream()
isWritable()
contentLength, createRelative, exists, getFile, getFileForLastModifiedCheck, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel, toString
contentLength, createRelative, exists, getFile, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
writableChannel
public OutputStreamResource(java.io.OutputStream outStream, - java.lang.String filename, - java.lang.String desc)
public java.io.OutputStream getOutputStream() - throws java.io.IOException
getOutputStream
public java.lang.String getDescription()
getDescription
public java.io.InputStream getInputStream() - throws java.io.IOException
getInputStream
public boolean isWritable()
isWritable
java.lang.Appendable
public class TransactionAwareBufferedWriter -extends java.io.Writer
Writer.write(String)
lock
TransactionAwareBufferedWriter(java.nio.channels.WritableByteChannel channel, - java.lang.Runnable closeCallback)
flush()
getBufferSize()
write(char[] cbuf, - int off, - int len)
append, append, append, nullWriter, write, write, write, write
public TransactionAwareBufferedWriter(java.nio.channels.WritableByteChannel channel, - java.lang.Runnable closeCallback)
channel
closeCallback
public long getBufferSize()
java.io.Writer
public void flush() - throws java.io.IOException
flush
public void write(char[] cbuf, - int off, - int len) - throws java.io.IOException
public class UncustomizedUrlResource -extends org.springframework.core.io.UrlResource
UncustomizedUrlResource(java.lang.String path)
UncustomizedUrlResource(java.net.URI uri)
UncustomizedUrlResource(java.net.URL url)
customizeConnection(java.net.HttpURLConnection con)
createRelative, createRelativeURL, equals, getDescription, getFile, getFilename, getInputStream, getURI, getURL, hashCode, isFile
contentLength, customizeConnection, exists, getFile, getFileForLastModifiedCheck, isFile, isReadable, lastModified, readableChannel
isOpen, toString
public UncustomizedUrlResource(java.lang.String path) - throws java.net.MalformedURLException
java.net.MalformedURLException
public UncustomizedUrlResource(java.net.URI uri) - throws java.net.MalformedURLException
public UncustomizedUrlResource(java.net.URL url)
protected void customizeConnection(java.net.HttpURLConnection con) - throws java.io.IOException
customizeConnection
org.springframework.core.io.AbstractFileResolvingResource
org.springframework.batch.item.file.ResourceAwareItemReaderItemStream<T>
org.springframework.batch.item.ItemReader<T>
org.springframework.batch.item.ItemStreamReader<T>
public class XmlItemReader<T> -extends org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<T> -implements org.springframework.batch.item.file.ResourceAwareItemReaderItemStream<T>
- - <root> - <item>...</item> - <item>...</item> - </root> - -
- <root> - <item>...</item> - <item>...</item> - </root> -
XmlItemReader(org.springframework.core.io.Resource resource, - XmlObjectReader<T> xmlObjectReader)
XmlItemReader
protected T
setStrict(boolean strict)
AbstractItemCountingItemStreamItemReader.open(org.springframework.batch.item.ExecutionContext)
setXmlObjectReader(XmlObjectReader<T> xmlObjectReader)
XmlObjectReader
close, getCurrentItemCount, isSaveState, jumpToItem, open, read, setCurrentItemCount, setMaxItemCount, setSaveState, update
close, open, update
public XmlItemReader(org.springframework.core.io.Resource resource, - XmlObjectReader<T> xmlObjectReader)
xmlObjectReader
public void setXmlObjectReader(XmlObjectReader<T> xmlObjectReader)
public void setStrict(boolean strict)
strict
@Nullable -protected T doRead() - throws java.lang.Exception
org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<T>
public class XmlItemReaderBuilder<T> -extends java.lang.Object
XmlItemReaderBuilder()
XmlItemReader<T>
XmlItemReaderBuilder<T>
currentItemCount(int currentItemCount)
maxItemCount(int maxItemCount)
strict(boolean strict)
xmlObjectReader(XmlObjectReader<T> xmlObjectReader)
public XmlItemReaderBuilder()
public XmlItemReaderBuilder<T> xmlObjectReader(XmlObjectReader<T> xmlObjectReader)
XmlItemReader.setXmlObjectReader(XmlObjectReader)
public XmlItemReaderBuilder<T> resource(org.springframework.core.io.Resource resource)
XmlItemReader.setResource(Resource)
public XmlItemReaderBuilder<T> name(java.lang.String name)
public XmlItemReaderBuilder<T> strict(boolean strict)
XmlItemReader.setStrict(boolean)
public XmlItemReaderBuilder<T> saveState(boolean saveState)
public XmlItemReaderBuilder<T> maxItemCount(int maxItemCount)
maxItemCount
AbstractItemCountingItemStreamItemReader.setMaxItemCount(int)
public XmlItemReaderBuilder<T> currentItemCount(int currentItemCount)
currentItemCount
AbstractItemCountingItemStreamItemReader.setCurrentItemCount(int)
public XmlItemReader<T> build()
public class XmlObjectReader<T> -extends java.lang.Object
XmlObjectReader(java.lang.Class<? extends T> itemType)
open(org.springframework.core.io.Resource resource)
read()
setMapper(com.fasterxml.jackson.dataformat.xml.XmlMapper mapper)
public XmlObjectReader(java.lang.Class<? extends T> itemType)
itemType
public void setMapper(com.fasterxml.jackson.dataformat.xml.XmlMapper mapper)
mapper
public void open(org.springframework.core.io.Resource resource) - throws java.lang.Exception
@Nullable -public T read() - throws java.lang.Exception
public class XmlResourceItemWriter<T> -extends AbstractResourceItemWriter<T>
XmlMapper
- - <root> - <record>...</record> - <record>...</record> - <record>...</record> - </root> - -
- <root> - <record>...</record> - <record>...</record> - <record>...</record> - </root> -
XmlResourceItemWriter(org.springframework.core.io.WritableResource resource, - java.lang.String rootName, - org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
setXmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> objectMarshaller)
public XmlResourceItemWriter(org.springframework.core.io.WritableResource resource, - java.lang.String rootName, - org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
rootName
xmlObjectMarshaller
public void setXmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> objectMarshaller)
objectMarshaller
public class XmlResourceItemWriterBuilder<T> -extends java.lang.Object
XmlResourceItemWriterBuilder()
XmlResourceItemWriterBuilder<T>
XmlResourceItemWriter<T>
rootName(java.lang.String rootName)
xmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
public XmlResourceItemWriterBuilder()
public XmlResourceItemWriterBuilder<T> saveState(boolean saveState)
public XmlResourceItemWriterBuilder<T> name(java.lang.String name)
public XmlResourceItemWriterBuilder<T> lineSeparator(java.lang.String lineSeparator)
public XmlResourceItemWriterBuilder<T> xmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
XmlResourceItemWriter.setXmlObjectMarshaller(JsonObjectMarshaller)
public XmlResourceItemWriterBuilder<T> resource(org.springframework.core.io.Resource resource)
public XmlResourceItemWriterBuilder<T> rootName(java.lang.String rootName)
public XmlResourceItemWriterBuilder<T> encoding(java.lang.String encoding)
public XmlResourceItemWriterBuilder<T> shouldDeleteIfEmpty(boolean shouldDelete)
public XmlResourceItemWriterBuilder<T> shouldDeleteIfExists(boolean shouldDelete)
public XmlResourceItemWriterBuilder<T> append(boolean append)
public XmlResourceItemWriterBuilder<T> headerCallback(org.springframework.batch.item.file.FlatFileHeaderCallback callback)
public XmlResourceItemWriterBuilder<T> footerCallback(org.springframework.batch.item.file.FlatFileFooterCallback callback)
public XmlResourceItemWriter<T> build()
DataSource
dataSource()
setDriver(String driver)
setPassword(String password)
setUrl(String url)
DatabaseExport()
setAssertUpdates(boolean assertUpdates)
setDataSourceOptions(DataSourceOptions dataSourceOptions)
setSql(String sql)
protected org.springframework.batch.item.database.JdbcBatchItemWriter<Map<String,Object>>
isStruct, job, processor, reader, setKeyRegex
DatabaseImport()
setFetchSize(int fetchSize)
setMaxItemCount(int maxItemCount)
setMaxResultSetRows(int rows)
setQueryTimeout(int queryTimeout)
setUseSharedExtendedConnection(boolean useSharedExtendedConnection)
setVerifyCursorPosition(boolean verifyCursorPosition)
evaluationContext, getEvaluationContextOptions, getOperations, getProcessorOptions, getWriterOptions, processor, setEvaluationContextOptions, setOperations, setOperations, setProcessorOptions, setWriterOptions, writer
static final com.redis.spring.batch.common.Range
DEFAULT_INDEX_RANGE
static final Locale
Locale
getSearchIndex()
setCount(int count)
setFields(Map<String,org.springframework.expression.Expression> fields)
setLocale(Locale locale)
setSearchIndex(String index)
net.datafaker.providers.base.BaseProviders
net.datafaker.providers.base.ProviderRegistration
net.datafaker.providers.entertainment.EntertainmentProviders
net.datafaker.providers.food.FoodProviders
net.datafaker.providers.sport.SportProviders
net.datafaker.providers.videogame.VideoGameProviders
AugmentedFaker(Locale locale)
getIndex()
getThread()
index()
removeThread()
setThread(int id)
thread()
addPath, addUrl, bothify, bothify, collection, collection, collection, csv, csv, doWith, doWith, doWith, examplify, expression, fakeValuesService, getContext, getFaker, getMethod, getProvider, getProvider, json, jsona, letterify, letterify, numerify, populate, populate, random, regexify, resolve, resolve, stream, stream, stream, templatify, templatify
address, ancient, animal, app, appliance, artist, australia, aviation, aws, azure, barcode, bloodtype, book, bool, brand, business, camera, cannabis, cat, chiquito, cnpj, code, coin, color, commerce, community, company, compass, computer, construction, cosmere, country, cpf, cryptoCoin, cultureSeries, currency, date, dcComics, demographic, device, disease, dog, domain, drivingLicense, drone, dungeonsAndDragons, duration, educator, electricalComponents, emoji, famousLastWords, file, finance, funnyName, garmentSize, gender, greekPhilosopher, hacker, hashing, hipster, hobby, hololive, horse, house, idNumber, industrySegments, internet, job, kpop, languageCode, locality, lorem, marketing, matz, mbti, measurement, medical, military, money, mood, mountain, mountaineering, music, name, nation, natoPhoneticAlphabet, nigeria, number, olympicSport, passport, phoneNumber, photography, programmingLanguage, relationships, restaurant, robin, rockBand, science, shakespeare, sip, size, slackEmoji, space, stock, subscription, superhero, team, text, time, tire, transport, twitter, unique, university, vehicle, verb, weather, yoda, zodiac
aquaTeenHungerForce, avatar, babylon5, backToTheFuture, bigBangTheory, bojackHorseman, bossaNova, breakingBad, brooklynNineNine, buffy, chuckNorris, cowboyBebop, departed, detectiveConan, doctorWho, doraemon, dragonBall, dumbAndDumber, dune, familyGuy, finalSpace, freshPrinceOfBelAir, friends, fullMetalAlchemist, futurama, gameOfThrones, ghostbusters, gratefulDead, harryPotter, heyArnold, hitchhikersGuideToTheGalaxy, hobbit, howIMetYourMother, howToTrainYourDragon, joke, kaamelott, lebowski, lordOfTheRings, moneyHeist, movie, naruto, newGirl, onePiece, oscarMovie, pokemon, princessBride, residentEvil, rickAndMorty, ruPaulDragRace, seinfeld, show, siliconValley, simpsons, southPark, spongebob, stargate, starTrek, starWars, strangerThings, studioGhibli, suits, supernatural, swordArtOnline, theExpanse, theItCrowd, theKingkillerChronicle, theRoom, theThickOfIt, theVentureBros, tron, twinPeaks, vForVendetta, witcher
beer, coffee, dessert, food, tea
addPath, addUrl, bothify, bothify, csv, csv, examplify, expression, fakeValuesService, getContext, getFaker, getProvider, json, jsona, letterify, letterify, numerify, options, random, regexify, resolve, resolve, templatify, templatify
baseball, basketball, chess, cricket, englandfootball, football, formula1, volleyball
battlefield1, clashOfClans, control, darkSouls, eldenRing, elderScrolls, esports, fallout, finalFantasyXIV, halfLife, hearthstone, heroesOfTheStorm, leagueOfLegends, marvelSnap, massEffect, minecraft, myst, overwatch, redDeadRedemption2, sonicTheHedgehog, soulKnight, starCraft, streetFighter, superMario, superSmashBros, touhou, videoGame, warhammerFantasy, worldOfWarcraft, zelda
org.springframework.batch.item.ItemReader<Map<String,Object>>
org.springframework.batch.item.ItemStreamReader<Map<String,Object>>
FakerItemReader.AugmentedFaker
protected Map<String,Object>
setStringFields(Map<String,String> stringFields)
org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader<Map<String,Object>>
final Member
AALOAD, AASTORE, ACC_ABSTRACT, ACC_ANNOTATION, ACC_BRIDGE, ACC_DEPRECATED, ACC_ENUM, ACC_FINAL, ACC_INTERFACE, ACC_MANDATED, ACC_MODULE, ACC_NATIVE, ACC_OPEN, ACC_PRIVATE, ACC_PROTECTED, ACC_PUBLIC, ACC_RECORD, ACC_STATIC, ACC_STATIC_PHASE, ACC_STRICT, ACC_SUPER, ACC_SYNCHRONIZED, ACC_SYNTHETIC, ACC_TRANSIENT, ACC_TRANSITIVE, ACC_VARARGS, ACC_VOLATILE, ACONST_NULL, ALOAD, ANEWARRAY, ARETURN, ARRAYLENGTH, ASM10_EXPERIMENTAL, ASM4, ASM5, ASM6, ASM7, ASM8, ASM9, ASTORE, ATHROW, BALOAD, BASTORE, BIPUSH, CALOAD, CASTORE, CHECKCAST, D2F, D2I, D2L, DADD, DALOAD, DASTORE, DCMPG, DCMPL, DCONST_0, DCONST_1, DDIV, DLOAD, DMUL, DNEG, DOUBLE, DREM, DRETURN, DSTORE, DSUB, DUP, DUP_X1, DUP_X2, DUP2, DUP2_X1, DUP2_X2, F_APPEND, F_CHOP, F_FULL, F_NEW, F_SAME, F_SAME1, F2D, F2I, F2L, FADD, FALOAD, FASTORE, FCMPG, FCMPL, FCONST_0, FCONST_1, FCONST_2, FDIV, FLOAD, FLOAT, FMUL, FNEG, FREM, FRETURN, FSTORE, FSUB, GETFIELD, GETSTATIC, GOTO, H_GETFIELD, H_GETSTATIC, H_INVOKEINTERFACE, H_INVOKESPECIAL, H_INVOKESTATIC, H_INVOKEVIRTUAL, H_NEWINVOKESPECIAL, H_PUTFIELD, H_PUTSTATIC, I2B, I2C, I2D, I2F, I2L, I2S, IADD, IALOAD, IAND, IASTORE, ICONST_0, ICONST_1, ICONST_2, ICONST_3, ICONST_4, ICONST_5, ICONST_M1, IDIV, IF_ACMPEQ, IF_ACMPNE, IF_ICMPEQ, IF_ICMPGE, IF_ICMPGT, IF_ICMPLE, IF_ICMPLT, IF_ICMPNE, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, IFNONNULL, IFNULL, IINC, ILOAD, IMUL, INEG, INSTANCEOF, INTEGER, INVOKEDYNAMIC, INVOKEINTERFACE, INVOKESPECIAL, INVOKESTATIC, INVOKEVIRTUAL, IOR, IREM, IRETURN, ISHL, ISHR, ISTORE, ISUB, IUSHR, IXOR, JSR, L2D, L2F, L2I, LADD, LALOAD, LAND, LASTORE, LCMP, LCONST_0, LCONST_1, LDC, LDIV, LLOAD, LMUL, LNEG, LONG, LOOKUPSWITCH, LOR, LREM, LRETURN, LSHL, LSHR, LSTORE, LSUB, LUSHR, LXOR, MONITORENTER, MONITOREXIT, MULTIANEWARRAY, NEW, NEWARRAY, NOP, NULL, POP, POP2, PUTFIELD, PUTSTATIC, RET, RETURN, SALOAD, SASTORE, SIPUSH, SOURCE_DEPRECATED, SOURCE_MASK, SWAP, T_BOOLEAN, T_BYTE, T_CHAR, T_DOUBLE, T_FLOAT, T_INT, T_LONG, T_SHORT, TABLESWITCH, TOP, UNINITIALIZED_THIS, V_PREVIEW, V1_1, V1_2, V1_3, V1_4, V1_5, V1_6, V1_7, V1_8, V10, V11, V12, V13, V14, V15, V16, V17, V18, V19, V20, V21, V22, V23, V9
canRead(org.springframework.expression.EvaluationContext context, + Object target, + String name)
canWrite(org.springframework.expression.EvaluationContext context, + Object target, + String name)
generateCode(String propertyName, + org.springframework.asm.MethodVisitor mv, + org.springframework.expression.spel.CodeFlow cf)
Class<?>
Class<?>[]
read(org.springframework.expression.EvaluationContext context, + Object target, + String name)
write(org.springframework.expression.EvaluationContext context, + Object target, + String name, + Object newValue)
ReflectivePropertyAccessor(boolean allowWrite)
createOptimalAccessor(Object target, + String name)
protected Field
findField(String name, + Class<?> clazz, + boolean mustBeStatic)
isCandidateForProperty(Method method, + Class<?> targetClass)
+ The default implementation considers any method as a candidate, even for non-user-declared properties on the + Object base class.
+ Note: An optimal accessor is currently only usable for read attempts. Do not call this method if you need a read-write + accessor.
AmazonS3Options()
getAccessKey()
getRegion()
getSecretKey()
setAccessKey(String accessKey)
setRegion(String region)
setSecretKey(String secretKey)
org.springframework.beans.factory.Aware
org.springframework.beans.factory.BeanFactoryAware
org.springframework.core.io.ProtocolResolver
AmazonS3ProtocolResolver(com.amazonaws.services.s3.AmazonS3ClientBuilder clientBuilder)
com.amazonaws.services.s3.AmazonS3
getAmazonS3()
afterPropertiesSet, resolve, setBeanFactory, setTaskExecutor
getAmazonS3
org.springframework.cloud.aws.core.io.s3.SimpleStorageProtocolResolver
FileDumpExport()
setAppend(boolean append)
setElementName(String elementName)
setFile(String file)
setFileOptions(FileOptions fileOptions)
setLineSeparator(String lineSeparator)
setRootName(String rootName)
setType(FileDumpType type)
FileDumpImport()
setFiles(String... files)
setFiles(List<String> files)
setWriterOptions, writer
Comparable<FileDumpType>
Comparable<FileExtension>
JSONL
static final Character
reader(String file)
Stream<org.springframework.batch.item.ItemReader<Map<String,Object>>>
readers(String... files)
setColumnRanges(List<String> columnRanges)
setContinuationString(String continuationString)
setDelimiter(String delimiter)
setFields(List<String> names)
setFileType(FileType fileType)
setHeader(boolean header)
setHeaderLine(Integer index)
setIncludedFields(int... indexes)
setLinesToSkip(Integer linesToSkip)
setMaxItemCount(Integer maxItemCount)
setQuoteCharacter(Character quoteCharacter)
setRegexes(Map<String,Pattern> regexes)
evaluationContext, getEvaluationContextOptions, getOperations, getProcessorOptions, getWriterOptions, setEvaluationContextOptions, setOperations, setOperations, setProcessorOptions, setWriterOptions, writer
IOException
processor
AmazonS3Options
getAmazonS3Options()
GoogleStorageOptions
getGoogleStorageOptions()
isGzipped()
setAmazonS3Options(AmazonS3Options amazonS3Options)
setEncoding(String encoding)
setGoogleStorageOptions(GoogleStorageOptions googleStorageOptions)
setGzipped(boolean gzipped)
Comparable<FileType>
dumpType(org.springframework.core.io.Resource resource)
static Stream<String>
expand(String filename)
static List<Path>
expand(Path path)
expandAll(Iterable<String> files)
extension(org.springframework.core.io.Resource resource)
static org.springframework.core.io.Resource
inputResource(String file, + FileOptions options)
static List<org.springframework.core.io.Resource>
inputResources(List<String> files, + FileOptions fileOptions)
isAmazonS3Resource(String file)
isConsole(String file)
isFile(String file)
isGoogleStorageResource(String file)
isGzip(String file)
static org.springframework.batch.item.file.FlatFileItemReader<Map<String,Object>>
jsonlReader(org.springframework.core.io.Resource resource)
jsonReader(org.springframework.core.io.Resource resource, + Class<? super T> type)
static com.fasterxml.jackson.databind.ObjectMapper
objectMapper()
static org.springframework.core.io.WritableResource
outputResource(String file, + FileOptions options)
safeInputResource(String file, + FileOptions options)
static com.fasterxml.jackson.dataformat.xml.XmlMapper
xmlMapper()
xmlReader(org.springframework.core.io.Resource resource, + Class<? super T> type)
GoogleStorageOptions()
getEncodedKey()
getKeyFile()
getProjectId()
setEncodedKey(String key)
setKeyFile(File file)
setProjectId(String id)
org.springframework.batch.item.file.LineCallbackHandler
HeaderCallbackHandler(org.springframework.batch.item.file.transform.AbstractLineTokenizer tokenizer, + int headerIndex)
handleLine(String line)
handleLine
com.fasterxml.jackson.databind.deser.NullValueProvider
com.fasterxml.jackson.databind.deser.ValueInstantiator.Gettable
com.fasterxml.jackson.databind.JsonDeserializer.None
BODY
ID
KEY
MEMORY_USAGE
SCORE
STREAM
TIMESTAMP
TTL
TYPE
VALUE
_valueClass, _valueType, F_MASK_ACCEPT_ARRAYS, F_MASK_INT_COERCIONS
KeyValueDeserializer()
KeyValueDeserializer(Class<com.redis.spring.batch.common.KeyValue<String>> t)
deserialize(com.fasterxml.jackson.core.JsonParser p, + com.fasterxml.jackson.databind.DeserializationContext ctxt)
_byteOverflow, _checkBooleanToStringCoercion, _checkCoercionFail, _checkDoubleSpecialValue, _checkFloatSpecialValue, _checkFloatToIntCoercion, _checkFloatToStringCoercion, _checkFromStringCoercion, _checkFromStringCoercion, _checkIntToFloatCoercion, _checkIntToStringCoercion, _checkTextualNull, _checkToStringCoercion, _coerceBooleanFromInt, _coercedTypeDesc, _coercedTypeDesc, _coerceEmptyString, _coerceIntegral, _coerceNullToken, _coerceTextualNull, _deserializeFromArray, _deserializeFromEmpty, _deserializeFromEmptyString, _deserializeFromString, _deserializeWrappedValue, _failDoubleToIntCoercion, _findCoercionFromBlankString, _findCoercionFromEmptyArray, _findCoercionFromEmptyString, _findNullProvider, _hasTextualNull, _intOverflow, _isBlank, _isEmptyOrTextualNull, _isFalse, _isIntNumber, _isNaN, _isNegInf, _isPosInf, _isTrue, _neitherNull, _nonNullNumber, _parseBoolean, _parseBooleanFromInt, _parseBooleanPrimitive, _parseBooleanPrimitive, _parseBytePrimitive, _parseDate, _parseDate, _parseDateFromArray, _parseDouble, _parseDouble, _parseDoublePrimitive, _parseDoublePrimitive, _parseDoublePrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseFloatPrimitive, _parseInteger, _parseInteger, _parseIntPrimitive, _parseIntPrimitive, _parseLong, _parseLong, _parseLongPrimitive, _parseLongPrimitive, _parseShortPrimitive, _parseString, _parseString, _reportFailedNullCoerce, _shortOverflow, _verifyEndArrayForSingle, _verifyNullForPrimitive, _verifyNullForPrimitiveCoercion, _verifyNullForScalarCoercion, _verifyNumberForScalarCoercion, _verifyStringForScalarCoercion, deserializeWithType, findContentNullProvider, findContentNullStyle, findConvertingContentDeserializer, findDeserializer, findFormatFeature, findFormatOverrides, findValueNullProvider, getValueClass, getValueInstantiator, getValueType, getValueType, handledType, handleMissingEndArrayForSingle, handleNestedArrayForSingle, handleUnknownProperty, isDefaultDeserializer, isDefaultKeyDeserializer
deserialize, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
deserialize
com.fasterxml.jackson.databind.JsonDeserializer<com.redis.spring.batch.common.KeyValue<String>>
com.fasterxml.jackson.core.JacksonException
org.springframework.batch.item.file.mapping.FieldSetMapper<Map<String,String>>
mapFieldSet(org.springframework.batch.item.file.transform.FieldSet fieldSet)
MapToFieldFunction(String key)
setDefaultValue(Object defaultValue)
Function<T,Map<K,V>>
ToMapFunction(Function<T,Map<K,V>>... functions)
ToMapFunction(List<? extends Function<T,Map<K,V>>> functions)
Map<K,V>
Function<T,K>
UnknownFileTypeException(String message)
restoreFrom(org.springframework.batch.item.ExecutionContext executionContext)
setAppendAllowed(boolean append)
setDeleteIfExists(boolean shouldDeleteIfExists)
setLinesWritten(long linesWritten)
write(String line)
protected final org.slf4j.Logger
log
protected AbstractResourceItemWriter<T>.OutputState
doWrite(org.springframework.batch.item.Chunk<? extends T> items)
setEncoding(String newEncoding)
setFooterCallback(org.springframework.batch.item.file.FlatFileFooterCallback footerCallback)
setHeaderCallback(org.springframework.batch.item.file.FlatFileHeaderCallback headerCallback)
setResource(org.springframework.core.io.WritableResource resource)
setSaveState(boolean saveState)
setShouldDeleteIfEmpty(boolean shouldDeleteIfEmpty)
setShouldDeleteIfExists(boolean shouldDeleteIfExists)
setTransactional(boolean transactional)
Closeable
Flushable
AutoCloseable
CountingOutputStream(OutputStream out)
write(byte[] b, + int off, + int len)
write(int b)
FilterOutputStream
FilenameInputStreamResource(InputStream inputStream, + String filename, + String description)
equals(Object obj)
getContentAsByteArray, getContentAsString
append, DEFAULT_CHARSET, DEFAULT_LINE_SEPARATOR, DEFAULT_TRANSACTIONAL, lineSeparator, log, shouldDeleteIfExists, state
setLineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
DelimitedBuilder(FlatResourceItemWriterBuilder<T> parent)
delimiter(String delimiter)
fieldExtractor(org.springframework.batch.item.file.transform.FieldExtractor<T> fieldExtractor)
names(String[] names)
FormattedBuilder(FlatResourceItemWriterBuilder<T> parent)
format(String format)
locale(Locale locale)
maximumLength(int maximumLength)
minimumLength(int minimumLength)
append(boolean append)
encoding(String encoding)
footerCallback(org.springframework.batch.item.file.FlatFileFooterCallback callback)
headerCallback(org.springframework.batch.item.file.FlatFileHeaderCallback callback)
lineAggregator(org.springframework.batch.item.file.transform.LineAggregator<T> lineAggregator)
lineSeparator(String lineSeparator)
name(String name)
resource(org.springframework.core.io.Resource resource)
saveState(boolean saveState)
shouldDeleteIfEmpty(boolean shouldDelete)
shouldDeleteIfExists(boolean shouldDelete)
+ + [ + {json object}, + {json object}, + {json object} + ] + +
+ [ + {json object}, + {json object}, + {json object} + ] +
JsonResourceItemWriter(org.springframework.core.io.WritableResource resource, + org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
setJsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
jsonObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> jsonObjectMarshaller)
OutputStreamResource(OutputStream outStream, + String filename, + String desc)
InputStream
OutputStream
contentLength, createRelative, exists, getContentAsByteArray, getContentAsString, getFile, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
Appendable
TransactionAwareBufferedWriter(WritableByteChannel channel, + Runnable closeCallback)
write(char[] cbuf, + int off, + int len)
Writer
UncustomizedUrlResource(String path)
UncustomizedUrlResource(URI uri)
UncustomizedUrlResource(URL url)
customizeConnection(HttpURLConnection con)
createRelative, createRelativeURL, customizeConnection, equals, from, from, getDescription, getFile, getFilename, getInputStream, getURI, getURL, hashCode, isFile
contentLength, exists, getFile, getFileForLastModifiedCheck, isFile, isReadable, lastModified, readableChannel
MalformedURLException
+ + <root> + <item>...</item> + <item>...</item> + </root> + +
+ <root> + <item>...</item> + <item>...</item> + </root> +
XmlItemReader(org.springframework.core.io.Resource resource, + XmlObjectReader<T> xmlObjectReader)
setResource(org.springframework.core.io.Resource resource)
setStrict(boolean strict)
setXmlObjectReader(XmlObjectReader<T> xmlObjectReader)
currentItemCount(int currentItemCount)
maxItemCount(int maxItemCount)
strict(boolean strict)
xmlObjectReader(XmlObjectReader<T> xmlObjectReader)
XmlObjectReader(Class<? extends T> itemType)
open(org.springframework.core.io.Resource resource)
setMapper(com.fasterxml.jackson.dataformat.xml.XmlMapper mapper)
+ + <root> + <record>...</record> + <record>...</record> + <record>...</record> + </root> + +
+ <root> + <record>...</record> + <record>...</record> + <record>...</record> + </root> +
XmlResourceItemWriter(org.springframework.core.io.WritableResource resource, + String rootName, + org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
setXmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> objectMarshaller)
rootName(String rootName)
xmlObjectMarshaller(org.springframework.batch.item.json.JsonObjectMarshaller<T> xmlObjectMarshaller)
Comparable<CompareMode>
FULL
QUICK
static CompareMode
static CompareMode[]
GeneratorImport()
com.redis.spring.batch.common.Range
com.redis.spring.batch.gen.MapOptions
getHashOptions()
getJsonOptions()
com.redis.spring.batch.gen.CollectionOptions
getListOptions()
getSetOptions()
com.redis.spring.batch.gen.StreamOptions
getStreamOptions()
com.redis.spring.batch.gen.StringOptions
getStringOptions()
com.redis.spring.batch.gen.TimeSeriesOptions
getTimeSeriesOptions()
List<com.redis.spring.batch.common.DataType>
com.redis.spring.batch.gen.ZsetOptions
getZsetOptions()
setExpiration(com.redis.spring.batch.common.Range expiration)
setHashOptions(com.redis.spring.batch.gen.MapOptions hashOptions)
setJsonOptions(com.redis.spring.batch.gen.MapOptions jsonOptions)
setKeyRange(com.redis.spring.batch.common.Range keyRange)
setListOptions(com.redis.spring.batch.gen.CollectionOptions listOptions)
setSetOptions(com.redis.spring.batch.gen.CollectionOptions setOptions)
setStreamOptions(com.redis.spring.batch.gen.StreamOptions streamOptions)
setStringOptions(com.redis.spring.batch.gen.StringOptions stringOptions)
setTimeSeriesOptions(com.redis.spring.batch.gen.TimeSeriesOptions timeSeriesOptions)
setTypes(List<com.redis.spring.batch.common.DataType> types)
setZsetOptions(com.redis.spring.batch.gen.ZsetOptions zsetOptions)
org.springframework.batch.core.ItemWriteListener<com.redis.spring.batch.common.KeyComparison>
KeyComparisonDiffLogger()
afterWrite(org.springframework.batch.item.Chunk<? extends com.redis.spring.batch.common.KeyComparison> items)
log(com.redis.spring.batch.common.KeyComparison comparison)
beforeWrite, onWriteError
org.springframework.batch.item.ItemStreamWriter<com.redis.spring.batch.common.KeyComparison>
org.springframework.batch.item.ItemWriter<com.redis.spring.batch.common.KeyComparison>
KeyComparisonStatusCountItemWriter()
getCount(com.redis.spring.batch.common.KeyComparison.Status status)
List<Long>
getCounts(com.redis.spring.batch.common.KeyComparison.Status... statuses)
getMissing()
getOK()
getTotal()
getTtl()
write(org.springframework.batch.item.Chunk<? extends com.redis.spring.batch.common.KeyComparison> items)
close, getExecutionContextKey, getName, open, setExecutionContextName, setName, update
KeyComparisonSummaryLogger(KeyComparisonStatusCountItemWriter writer)
KeyValueWriteListener(io.lettuce.core.codec.RedisCodec<K,?> codec, + org.slf4j.Logger log)
beforeWrite(org.springframework.batch.item.Chunk<? extends T> items)
afterWrite, onWriteError
org.springframework.batch.core.ItemWriteListener<K>
static final TimeUnit
static double[]
double[]
TimeUnit
setIterations(int iterations)
setLatencyDistribution(boolean latencyDistribution)
setOut(PrintWriter out)
setPercentiles(double[] percentiles)
setTimeUnit(TimeUnit unit)
close, getRedisClient, getRedisClientOptions, getRedisConnection, getRedisURI, open, run, setRedisClientOptions
CONFIG_NOTIFY_KEYSPACE_EVENTS
static final CompareMode
DEFAULT_COMPARE_MODE
static final ReplicationMode
DEFAULT_MODE
static final ReplicationType
DEFAULT_TYPE
STEP_COMPARE
STEP_LIVE
STEP_SCAN
Replication()
CompareMode
getCompareMode()
ReplicationType
setCompareMode(CompareMode mode)
setMode(ReplicationMode mode)
setShowDiffs(boolean showDiff)
setTargetReadFrom(io.lettuce.core.ReadFrom targetReadFrom)
setTtlTolerance(Duration ttlTolerance)
setType(ReplicationType type)
configureReader, getProcessorOptions, getReaderOptions, keyFilteringProcessor, processor, setEvaluationContextOptions, setProcessorOptions, setReaderOptions
doRun, getChunkSize, getJobRepository, getName, getRetryLimit, getSkipLimit, getSleep, getThreads, getTransactionManager, isDryRun, jobBuilder, name, setChunkSize, setDryRun, setJobRepository, setName, setRetryLimit, setSkipLimit, setSleep, setStepConfigurer, setThreads, setTransactionManager, step, writer
getRedisClient, getRedisClientOptions, getRedisConnection, getRedisURI, run, setRedisClientOptions
evaluationContext
Comparable<ReplicationMode>
Comparable<ReplicationType>
STRUCT
static ReplicationType
static ReplicationType[]
public static final boolean
true
public static final java.lang.String
"\\w+:(?<id>.+)"
public static final String
""
public static final long
-1L
public static final int
-1
60L
1000
false
public static final double
1.0
50
3
0
1
"yyyy-MM-dd\'T\'HH:mm:ss.SSSZ"
"127.0.0.1"
6379
10
"*"
5
10000
8
1000L
"record"
"root"
"[%s]"
":"
"\\"
"%s.%s"
"value"
"%s"
"score[%s]"
"value[%s]"
"index"
"gs://"
"s3://"
"UTF-8"
"body"
"id"
"key"
"memoryUsage"
"score"
"stream"
"timestamp"
"ttl"
"type"
You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camelCase" abbreviations. For example:
j.l.obj
InpStr
HM.cK
Refer to the Javadoc Search Specification for a full description of search features.
The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:
Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:
Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:
Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.
Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
Each annotation type has its own separate page with the following sections:
Each enum has its own separate page with the following sections:
Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.
The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
Packages and modules may contain pages with additional information related to the declarations nearby.
Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.
There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.
The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
The Constant Field Values page lists the static final fields and their values.
The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.
Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.
The All Classes link shows all classes and interfaces except non-static nested types.
The All Packages page contains an alphabetic index of all packages contained in the documentation.
Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.
The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.
The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.
You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".