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

Packages that use ItemReader
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.integration.chunk
Components for remote chunking.
org.springframework.batch.item
Infrastructure interfaces and primary dependencies for item concerns.
org.springframework.batch.item.adapter
Adapters for Plain Old Java Objects.
org.springframework.batch.item.amqp
AMQP related batch components.
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.jms
JMS based reader/writer and related components.
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.support.builder
Builders for support classes.
org.springframework.batch.item.xml
Infrastructure implementations of xml input and output.

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

  Methods in org.springframework.batch.core.configuration.xml with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `void`
  StepParserStepFactoryBean.`setItemReader(ItemReader<? extends I> itemReader)`

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

  Methods in org.springframework.batch.core.step.builder that return ItemReader
  Modifier and Type
  Method
  Description
  `protected ItemReader<? extends I>`
  SimpleStepBuilder.`getReader()`
  Methods in org.springframework.batch.core.step.builder with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `SimpleStepBuilder<I,O>`
  SimpleStepBuilder.`reader(ItemReader<? extends I> reader)`
  An item reader that provides a stream of items.
  `protected void`
  SimpleStepBuilder.`registerAsStreamsAndListeners(ItemReader<? extends I> itemReader, ItemProcessor<? super I,? extends O> itemProcessor, ItemWriter<? super O> itemWriter)`

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

  Methods in org.springframework.batch.core.step.factory that return ItemReader
  Modifier and Type
  Method
  Description
  `protected ItemReader<? extends T>`
  SimpleStepFactoryBean.`getItemReader()`
  Protected getter for the `ItemReader` for subclasses to use.
  Methods in org.springframework.batch.core.step.factory with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `void`
  SimpleStepFactoryBean.`setItemReader(ItemReader<? extends T> itemReader)`

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

  Fields in org.springframework.batch.core.step.item declared as ItemReader
  Modifier and Type
  Field
  Description
  `protected final ItemReader<? extends I>`
  SimpleChunkProvider.`itemReader`
  Methods in org.springframework.batch.core.step.item with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `void`
  ChunkMonitor.`setItemReader(ItemReader<?> reader)`
  Constructors in org.springframework.batch.core.step.item with parameters of type ItemReader
  Modifier
  Constructor
  Description
  ``
  `FaultTolerantChunkProvider(ItemReader<? extends I> itemReader, RepeatOperations repeatOperations)`
  ``
  `SimpleChunkProvider(ItemReader<? extends I> itemReader, RepeatOperations repeatOperations)`

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

  Methods in org.springframework.batch.integration.chunk with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `RemoteChunkingManagerStepBuilder<I,O>`
  RemoteChunkingManagerStepBuilder.`reader(ItemReader<? extends I> reader)`

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

  Subinterfaces of ItemReader in org.springframework.batch.item
  Modifier and Type
  Interface
  Description
  `interface`
  `ItemStreamReader<T>`
  Convenience interface that combines `ItemStream` and `ItemReader` .
  `interface`
  `PeekableItemReader<T>`
  A specialisation of `ItemReader` that allows the user to look ahead into the stream of items.

- ## Uses of ItemReader in org.springframework.batch.item.adapter

  Classes in org.springframework.batch.item.adapter that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `ItemReaderAdapter<T>`
  Invokes a custom method on a delegate plain old Java object which itself provides an item.

- ## Uses of ItemReader in org.springframework.batch.item.amqp

  Classes in org.springframework.batch.item.amqp that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `AmqpItemReader<T>`
  AMQP `ItemReader` implementation using an `AmqpTemplate` to receive and/or convert messages.

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

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

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

  Classes in org.springframework.batch.item.data that implement ItemReader
  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 ItemReader in org.springframework.batch.item.database

  Classes in org.springframework.batch.item.database that implement ItemReader
  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 ItemReader in org.springframework.batch.item.file

  Subinterfaces of ItemReader 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`.
  Classes in org.springframework.batch.item.file that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `FlatFileItemReader<T>`
  Restartable `ItemReader` that reads lines from input `FlatFileItemReader.setResource(Resource)`.
  `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`
  `ResourcesItemReader`
  `ItemReader` which produces `Resource` instances from an array.

- ## Uses of ItemReader in org.springframework.batch.item.jms

  Classes in org.springframework.batch.item.jms that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `JmsItemReader<T>`
  An `ItemReader` for JMS using a `JmsTemplate`.

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

  Classes in org.springframework.batch.item.json that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `JsonItemReader<T>`
  `ItemStreamReader` implementation that reads Json objects from a `Resource` having the following format:

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

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

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

  Classes in org.springframework.batch.item.ldif that implement ItemReader
  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 ItemReader in org.springframework.batch.item.support

  Classes in org.springframework.batch.item.support that implement ItemReader
  Modifier and Type
  Class
  Description
  `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`
  `IteratorItemReader<T>`
  An `ItemReader` that pulls data from a `Iterator` or `Iterable` using the constructors.
  `class`
  `ListItemReader<T>`
  An `ItemReader` that pulls data from a list.
  `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.
  Methods in org.springframework.batch.item.support with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `void`
  SingleItemPeekableItemReader.`setDelegate(ItemReader<T> delegate)`
  The item reader to use as a delegate.

- ## Uses of ItemReader in org.springframework.batch.item.support.builder

  Methods in org.springframework.batch.item.support.builder with parameters of type ItemReader
  Modifier and Type
  Method
  Description
  `SingleItemPeekableItemReaderBuilder<T>`
  SingleItemPeekableItemReaderBuilder.`delegate(ItemReader<T> delegate)`
  The item reader to use as a delegate.

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

  Classes in org.springframework.batch.item.xml that implement ItemReader
  Modifier and Type
  Class
  Description
  `class`
  `StaxEventItemReader<T>`
  Item reader for reading XML input based on StAX.