Package org.springframework.batch.item.support
@NonNullApi
package org.springframework.batch.item.support
Internal support package
-
ClassDescriptionBase class for item writers that write data to a file or stream.Abstract superclass for
ItemReader
s that supports restart by storing item count in theExecutionContext
(therefore requires item ordering to be preserved between runs).Base class forItemReader
implementations.Base class forItemWriter
implementations.Calls one of a collection of ItemProcessors, based on a router pattern implemented through the providedClassifier
.Calls one of a collection of ItemWriters for each item, based on a router pattern implemented through the providedClassifier
.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.Composite reader that delegates reading to a list ofItemStreamReader
s.SimpleItemStream
that delegates to a list of other streams.Calls a collection ofItemWriter
s in fixed-order sequence.
The implementation is thread-safe if all delegates are thread-safe.AnItemReader
that pulls data from a list.Item writer that writes items to aList
.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.APeekableItemReader
that allows the user to peek one item ahead.This is anItemReader
decorator with a synchronizedItemReader.read()
method.This is a simple ItemStreamReader decorator with a synchronized ItemReader.read() method - which makes a non-thread-safe ItemReader thread-safe.AnItemStreamWriter
decorator with a synchronizedwrite()
method.This is anItemWriter
decorator with a synchronizedItemWriter.write(org.springframework.batch.item.Chunk<? extends T>)
method.