# Uses of Interface
org.springframework.batch.item.ItemStream

Packages that use ItemStream
Package
Description
org.springframework.batch.core.configuration.xml
Parsers for XML based configuration
org.springframework.batch.core.step.builder
Step level builders for java based job configuration.
org.springframework.batch.core.step.factory
Factories for step level components.
org.springframework.batch.core.step.item
Specific implementations of step concerns for item-oriented approach.
org.springframework.batch.core.step.tasklet
Interfaces and generic implementations of tasklet concerns.
org.springframework.batch.integration.async
Components for executing item processing asynchronously and writing the results when processing is complete.
org.springframework.batch.integration.chunk
Components for remote chunking.
org.springframework.batch.item
Infrastructure interfaces and primary dependencies for item concerns.
org.springframework.batch.item.avro
org.springframework.batch.item.data
Spring Data related readers and writers.
org.springframework.batch.item.database
Infrastructure implementations of database based item readers and writers.
org.springframework.batch.item.file
Infrastructure implementations of io file concerns.
org.springframework.batch.item.json
Infrastructure implementations of JSON input and output.
org.springframework.batch.item.kafka
Apache Kafka related readers and writers
org.springframework.batch.item.ldif
This package contains the classes required for using the LdifParser in Spring LDAP.
org.springframework.batch.item.support
Internal support package
org.springframework.batch.item.xml
Infrastructure implementations of xml input and output.

- ## Uses of ItemStream in org.springframework.batch.core.configuration.xml

  Methods in org.springframework.batch.core.configuration.xml with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `void`
  StepParserStepFactoryBean.`setStreams(ItemStream[] streams)`
  The streams to inject into the `Step`.

- ## Uses of ItemStream in org.springframework.batch.core.step.builder

  Methods in org.springframework.batch.core.step.builder that return types with arguments of type ItemStream
  Modifier and Type
  Method
  Description
  `protected Set<ItemStream>`
  AbstractTaskletStepBuilder.`getStreams()`
  Methods in org.springframework.batch.core.step.builder with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `AbstractTaskletStepBuilder<B>`
  AbstractTaskletStepBuilder.`stream(ItemStream stream)`
  Register a stream for callbacks that manage restart data.
  `AbstractTaskletStepBuilder<SimpleStepBuilder<I,O>>`
  FaultTolerantStepBuilder.`stream(ItemStream stream)`

- ## Uses of ItemStream in org.springframework.batch.core.step.factory

  Methods in org.springframework.batch.core.step.factory with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `void`
  SimpleStepFactoryBean.`setStreams(ItemStream[] streams)`
  The streams to inject into the `Step`.

- ## Uses of ItemStream in org.springframework.batch.core.step.item

  Classes in org.springframework.batch.core.step.item that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `ChunkMonitor`
  Manage the offset data between the last successful commit and updates made to an input chunk.
  Methods in org.springframework.batch.core.step.item with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `void`
  ChunkMonitor.`registerItemStream(ItemStream stream)`

- ## Uses of ItemStream in org.springframework.batch.core.step.tasklet

  Methods in org.springframework.batch.core.step.tasklet with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `void`
  TaskletStep.`registerStream(ItemStream stream)`
  Register a single `ItemStream` for callbacks to the stream interface.
  `void`
  TaskletStep.`setStreams(ItemStream[] streams)`
  Register each of the streams for callbacks at the appropriate time in the step.

- ## Uses of ItemStream in org.springframework.batch.integration.async

  Classes in org.springframework.batch.integration.async that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `AsyncItemWriter<T>`

- ## Uses of ItemStream in org.springframework.batch.integration.chunk

  Classes in org.springframework.batch.integration.chunk that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `ChunkMessageChannelItemWriter<T>`
  Methods in org.springframework.batch.integration.chunk with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `RemoteChunkingManagerStepBuilder<I,O>`
  RemoteChunkingManagerStepBuilder.`stream(ItemStream stream)`

- ## Uses of ItemStream in org.springframework.batch.item

  Subinterfaces of ItemStream in org.springframework.batch.item
  Modifier and Type
  Interface
  Description
  `interface`
  `ItemStreamReader<T>`
  Convenience interface that combines `ItemStream` and `ItemReader` .
  `interface`
  `ItemStreamWriter<T>`
  Convenience interface that combines `ItemStream` and `ItemWriter` .
  Classes in org.springframework.batch.item that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `ItemStreamSupport`
  Empty method implementation of `ItemStream`.

- ## Uses of ItemStream in org.springframework.batch.item.avro

  Classes in org.springframework.batch.item.avro that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `AvroItemReader<T>`
  An `ItemReader` that deserializes data from a `Resource` containing serialized Avro objects.
  `class`
  `AvroItemWriter<T>`
  An `ItemWriter` that serializes data to an `WritableResource` using Avro.

- ## Uses of ItemStream in org.springframework.batch.item.data

  Classes in org.springframework.batch.item.data that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractPaginatedDataItemReader<T>`
  A base class that handles basic reading logic based on the paginated semantics of Spring Data's paginated facilities.
  `class`
  `MongoItemReader<T>`
  Restartable `ItemReader` that reads documents from MongoDB via a paging technique.
  `class`
  `Neo4jItemReader<T>`
  Deprecated.
  since 5.0 in favor of the item reader from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
  `class`
  `RepositoryItemReader<T>`
  A `ItemReader` that reads records utilizing a `PagingAndSortingRepository`.

- ## Uses of ItemStream in org.springframework.batch.item.database

  Classes in org.springframework.batch.item.database that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractCursorItemReader<T>`
  Abstract base class for any simple item reader that opens a database cursor and continually retrieves the next row in the ResultSet.
  `class`
  `AbstractPagingItemReader<T>`
  Abstract `ItemStreamReader` for to extend when reading database records in a paging fashion.
  `class`
  `HibernateCursorItemReader<T>`
  `ItemStreamReader` for reading database records built on top of Hibernate.
  `class`
  `HibernatePagingItemReader<T>`
  `ItemReader` for reading database records built on top of Hibernate and reading only up to a fixed number of items at a time.
  `class`
  `JdbcCursorItemReader<T>`
  Simple item reader implementation that opens a JDBC cursor and continually retrieves the next row in the ResultSet.
  `class`
  `JdbcPagingItemReader<T>`
  `ItemReader` for reading database records using JDBC in a paging fashion.
  `class`
  `JpaCursorItemReader<T>`
  `ItemStreamReader` implementation based on JPA `Query.getResultStream()`.
  `class`
  `JpaPagingItemReader<T>`
  `ItemReader` for reading database records built on top of JPA.
  `class`
  `StoredProcedureItemReader<T>`
  Item reader implementation that executes a stored procedure and then reads the returned cursor and continually retrieves the next row in the `ResultSet`.

- ## Uses of ItemStream in org.springframework.batch.item.file

  Subinterfaces of ItemStream in org.springframework.batch.item.file
  Modifier and Type
  Interface
  Description
  `interface`
  `ResourceAwareItemReaderItemStream<T>`
  Interface for `ItemReader`s that implement `ItemStream` and read input from `Resource`.
  `interface`
  `ResourceAwareItemWriterItemStream<T>`
  Interface for `ItemWriter`s that implement `ItemStream` and write output to `Resource`.
  Classes in org.springframework.batch.item.file that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `FlatFileItemReader<T>`
  Restartable `ItemReader` that reads lines from input `FlatFileItemReader.setResource(Resource)`.
  `class`
  `FlatFileItemWriter<T>`
  This class is an item writer that writes data to a file or stream.
  `class`
  `MultiResourceItemReader<T>`
  Reads items from multiple resources sequentially - resource list is given by `MultiResourceItemReader.setResources(Resource[])`, the actual reading is delegated to `MultiResourceItemReader.setDelegate(ResourceAwareItemReaderItemStream)`.
  `class`
  `MultiResourceItemWriter<T>`
  Wraps a `ResourceAwareItemWriterItemStream` and creates a new output resource when the count of items written in current resource exceeds `MultiResourceItemWriter.setItemCountLimitPerResource(int)`.
  `class`
  `ResourcesItemReader`
  `ItemReader` which produces `Resource` instances from an array.

- ## Uses of ItemStream in org.springframework.batch.item.json

  Classes in org.springframework.batch.item.json that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `JsonFileItemWriter<T>`
  Item writer that writes data in json format to an output file.
  `class`
  `JsonItemReader<T>`
  `ItemStreamReader` implementation that reads Json objects from a `Resource` having the following format:

- ## Uses of ItemStream in org.springframework.batch.item.kafka

  Classes in org.springframework.batch.item.kafka that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `KafkaItemReader<K,V>`
  An `ItemReader` implementation for Apache Kafka.

- ## Uses of ItemStream in org.springframework.batch.item.ldif

  Classes in org.springframework.batch.item.ldif that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `LdifReader`
  The `LdifReader` is an adaptation of the `FlatFileItemReader` built around an `LdifParser`.
  `class`
  `MappingLdifReader<T>`
  The `MappingLdifReader` is an adaptation of the `FlatFileItemReader` built around an `LdifParser`.

- ## Uses of ItemStream in org.springframework.batch.item.support

  Classes in org.springframework.batch.item.support that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `AbstractFileItemWriter<T>`
  Base class for item writers that write data to a file or stream.
  `class`
  `AbstractItemCountingItemStreamItemReader<T>`
  Abstract superclass for `ItemReader`s that supports restart by storing item count in the `ExecutionContext` (therefore requires item ordering to be preserved between runs).
  `class`
  `AbstractItemStreamItemReader<T>`
  Base class for `ItemReader` implementations.
  `class`
  `AbstractItemStreamItemWriter<T>`
  Base class for `ItemWriter` implementations.
  `class`
  `CompositeItemStream`
  Simple `ItemStream` that delegates to a list of other streams.
  `class`
  `CompositeItemWriter<T>`
  Calls a collection of `ItemWriter`s in fixed-order sequence.
  The implementation is thread-safe if all delegates are thread-safe.
  `class`
  `SingleItemPeekableItemReader<T>`
  A `PeekableItemReader` that allows the user to peek one item ahead.
  `class`
  `SynchronizedItemStreamReader<T>`
  This is a simple ItemStreamReader decorator with a synchronized ItemReader.read() method - which makes a non-thread-safe ItemReader thread-safe.
  `class`
  `SynchronizedItemStreamWriter<T>`
  An `ItemStreamWriter` decorator with a synchronized `write()` method.
  Methods in org.springframework.batch.item.support with parameters of type ItemStream
  Modifier and Type
  Method
  Description
  `void`
  CompositeItemStream.`register(ItemStream stream)`
  Register a `ItemStream` as one of the interesting providers under the provided key.
  `void`
  CompositeItemStream.`setStreams(ItemStream[] streams)`
  Public setter for the `ItemStream`s.

- ## Uses of ItemStream in org.springframework.batch.item.xml

  Classes in org.springframework.batch.item.xml that implement ItemStream
  Modifier and Type
  Class
  Description
  `class`
  `StaxEventItemReader<T>`
  Item reader for reading XML input based on StAX.
  `class`
  `StaxEventItemWriter<T>`
  An implementation of `ItemWriter` which uses StAX and `Marshaller` for serializing object to XML.