Package org.springframework.batch.item
@NullMarked
package org.springframework.batch.item
Infrastructure interfaces and primary dependencies for item concerns.
-
ClassDescriptionChunk<W>Encapsulation of a list of items to be processed and possibly a list of failed items to be skipped.Object representing a context for an
ItemStream.Marker interface indicating that an item should have the item count set on it.ItemProcessor<I,O> Interface for item transformation.ItemReader<T>Strategy interface for providing the data.A base exception class that all exceptions thrown from anItemReaderextend.Marker interface defining a contract for periodically storing state and restoring from that state should an error occur.Exception representing any errors encountered while processing a stream.Convenience interface that combinesItemStreamandItemReader.Empty method implementation ofItemStream.Convenience interface that combinesItemStreamandItemWriter.ItemWriter<T>Basic interface for generic output operations.A base exception class that all exceptions thrown from anItemWriterextend.KeyValueItemWriter<K,V> A base class to implement anyItemWriterthat writes to a key value store using aConverterto derive a key from an item.Exception indicating that an error has been encountered doing I/O from a reader, and the exception should be considered fatal.Exception indicating that an error has been encountered parsing IO, typically from a file.A specialisation ofItemReaderthat allows the user to look ahead into the stream of items.Exception indicating that anItemReaderneeded to be opened before read.Marker interface indicating that an item should have the SpringResourcein which it was read from, set on it.SkipWrapper<T>Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 with no replacement.SpELItemKeyMapper<K,V> An implementation ofConverterthat uses SpEL to map a Value to a keyUsed to signal an unexpected end of an input or message stream.Unchecked exception indicating that an error has occurred while trying to clear a buffer on a rollback.Exception indicating that anItemWriterneeded to be opened before being written to.