クラスの使用
org.springframework.batch.item.data.builder.RepositoryItemReaderBuilder
org.springframework.batch.item.data.builder 内の RepositoryItemReaderBuilder 使用
修飾子と型メソッド説明データ提供メソッドに渡される引数。データ提供メソッドに渡される引数。RepositoryItemReaderBuilder.currentItemCount
(int currentItemCount) 現在のアイテムのインデックス。RepositoryItemReaderBuilder.maxItemCount
(int maxItemCount) 読み込むアイテムの最大数を設定します。RepositoryItemReaderBuilder.methodName
(StringSE methodName) 呼び出すリポジトリ上のメソッドを指定します。ExecutionContext
内でキーを計算するために使用される名前。RepositoryItemReaderBuilder.pageSize
(int pageSize) 生成された RepositoryItemReader の pageSize を確立します。RepositoryItemReaderBuilder.repository
(org.springframework.data.repository.PagingAndSortingRepository<?, ?> repository) 入力の読み取りに使用されるPagingAndSortingRepository
実装。RepositoryItemReaderBuilder.saveState
(boolean saveState) 再起動のためにItemStreamSupport
の状態をExecutionContext
内に保持する必要があるかどうかを構成します。RepositoryItemReaderBuilder.sorts
(MapSE<StringSE, org.springframework.data.domain.Sort.Direction> sorts) ページ化されたクエリ間で順序が維持されるように、結果の順序を提供します。