Uses of Class
org.springframework.batch.item.data.builder.RepositoryItemReaderBuilder
Package
Description
Builders for Spring Data item readers and writers.
-
Uses of RepositoryItemReaderBuilder in org.springframework.batch.item.data.builder
Modifier and TypeMethodDescriptionArguments to be passed to the data providing method.Arguments to be passed to the data providing method.RepositoryItemReaderBuilder.currentItemCount
(int currentItemCount) Index for the current item.RepositoryItemReaderBuilder.maxItemCount
(int maxItemCount) Configure the max number of items to be read.RepositoryItemReaderBuilder.methodName
(String methodName) Specifies what method on the repository to call.The name used to calculate the key within theExecutionContext
.RepositoryItemReaderBuilder.pageSize
(int pageSize) Establish the pageSize for the generated RepositoryItemReader.RepositoryItemReaderBuilder.repository
(org.springframework.data.repository.PagingAndSortingRepository<?, ?> repository) ThePagingAndSortingRepository
implementation used to read input from.RepositoryItemReaderBuilder.saveState
(boolean saveState) Configure if the state of theItemStreamSupport
should be persisted within theExecutionContext
for restart purposes.Provides ordering of the results so that order is maintained between paged queries.