Package org.springframework.batch.item.support
@NonNullApi
package org.springframework.batch.item.support
Internal support package
-
ClassesClassDescriptionBase class for item writers that write data to a file or stream.Abstract superclass for
ItemReaders that supports restart by storing item count in theExecutionContext(therefore requires item ordering to be preserved between runs).Base class forItemReaderimplementations.Base class forItemWriterimplementations.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.CompositeItemProcessorthat passes the item through a sequence of injectedItemTransformers (return value of previous transformation is the entry value of the next).
Note the user is responsible for injecting a chain ofItemProcessors that conforms to declared input and output types.SimpleItemStreamthat delegates to a list of other streams.Calls a collection ofItemWriters in fixed-order sequence.
The implementation is thread-safe if all delegates are thread-safe.AnItemReaderthat pulls data from a list.SimpleItemProcessorthat does nothing - simply passes its argument through to the caller.ScriptItemProcessor<I,O> ItemProcessorimplementation that passes the current item to process to the provided script.APeekableItemReaderthat allows the user to peek one item ahead.This is a simple ItemStreamReader decorator with a synchronized ItemReader.read() method - which makes a non-thread-safe ItemReader thread-safe.AnItemStreamWriterdecorator with a synchronizedwrite()method.