# Uses of Class
org.springframework.batch.item.data.builder.RepositoryItemReaderBuilder

Packages that use RepositoryItemReaderBuilder
Package
Description
org.springframework.batch.item.data.builder
Builders for Spring Data item readers and writers.

- ## Uses of RepositoryItemReaderBuilder in org.springframework.batch.item.data.builder

  Methods in org.springframework.batch.item.data.builder that return RepositoryItemReaderBuilder
  Modifier and Type
  Method
  Description
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`arguments(Object... arguments)`
  Arguments to be passed to the data providing method.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`arguments(List<?> arguments)`
  Arguments to be passed to the data providing method.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`currentItemCount(int currentItemCount)`
  Index for the current item.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`maxItemCount(int maxItemCount)`
  Configure the max number of items to be read.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`methodName(String methodName)`
  Specifies what method on the repository to call.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`name(String name)`
  The name used to calculate the key within the `ExecutionContext`.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`pageSize(int pageSize)`
  Establish the pageSize for the generated RepositoryItemReader.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`repository(RepositoryItemReaderBuilder.RepositoryMethodReference<?> repositoryMethodReference)`
  Specifies a repository and the type-safe method to call for the reader.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`repository(org.springframework.data.repository.PagingAndSortingRepository<?,?> repository)`
  The `PagingAndSortingRepository` implementation used to read input from.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`saveState(boolean saveState)`
  Configure if the state of the `ItemStreamSupport` should be persisted within the `ExecutionContext` for restart purposes.
  `RepositoryItemReaderBuilder<T>`
  RepositoryItemReaderBuilder.`sorts(Map<String,org.springframework.data.domain.Sort.Direction> sorts)`
  Provides ordering of the results so that order is maintained between paged queries.