Package org.springframework.batch.item
@NonNullApi
package org.springframework.batch.item
Infrastructure interfaces and primary dependencies for item concerns.
-
ClassDescriptionObject 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 anItemReader
extend.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 combinesItemStream
andItemReader
.Empty method implementation ofItemStream
.Convenience interface that combinesItemStream
andItemWriter
.ItemWriter<T>Basic interface for generic output operations.A base exception class that all exceptions thrown from anItemWriter
extend.KeyValueItemWriter<K,V> A base class to implement anyItemWriter
that writes to a key value store using aConverter
to derive a key from an itemException 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 ofItemReader
that allows the user to look ahead into the stream of items.Exception indicating that anItemReader
needed to be opened before read.Marker interface indicating that an item should have the SpringResource
in which it was read from, set on it.SpELItemKeyMapper<K,V> An implementation ofConverter
that 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 anItemWriter
needed to be opened before being written to.