@NonNullApi
Package org.springframework.batch.item.support
Internal support package
Class Summary Class Description AbstractFileItemWriter<T> Base class for item writers that write data to a file or stream.AbstractItemCountingItemStreamItemReader<T> Abstract superclass forItemReader
s that supports restart by storing item count in theExecutionContext
(therefore requires item ordering to be preserved between runs).AbstractItemStreamItemReader<T> Base class forItemReader
implementations.AbstractItemStreamItemWriter<T> Base class forItemWriter
implementations.ClassifierCompositeItemProcessor<I,O> Calls one of a collection of ItemProcessors, based on a router pattern implemented through the providedClassifier
.ClassifierCompositeItemWriter<T> Calls one of a collection of ItemWriters for each item, based on a router pattern implemented through the providedClassifier
.CompositeItemProcessor<I,O> CompositeItemProcessor
that passes the item through a sequence of injectedItemTransformer
s (return value of previous transformation is the entry value of the next).
Note the user is responsible for injecting a chain ofItemProcessor
s that conforms to declared input and output types.CompositeItemStream SimpleItemStream
that delegates to a list of other streams.CompositeItemWriter<T> Calls a collection ofItemWriter
s in fixed-order sequence.
The implementation is thread-safe if all delegates are thread-safe.IteratorItemReader<T> ListItemReader<T> AnItemReader
that pulls data from a list.ListItemWriter<T> PassThroughItemProcessor<T> SimpleItemProcessor
that does nothing - simply passes its argument through to the caller.ScriptItemProcessor<I,O> ItemProcessor
implementation that passes the current item to process to the provided script.SingleItemPeekableItemReader<T> APeekableItemReader
that allows the user to peek one item ahead.SynchronizedItemStreamReader<T> This is a simple ItemStreamReader decorator with a synchronized ItemReader.read() method - which makes a non-thread-safe ItemReader thread-safe.