Spring 官方文檔翻譯
工作上碰到 Spring Batch 的 Bug 要解,
不知道從哪裡下手, 只能從 Bug 有提到的關鍵字去看官方文檔
這個系列的內容是我參考網路上一些佛心人士翻譯的, 未必準確
又我是跳著翻譯 , 畢竟得先解決工作上的問題
6. ItemReaders and ItemWriters
All batch processing can be described in its most simple form as reading in large amounts of data,
performing some type of calculation or transformation,
and writing the result out.
所有批次處裡都能被描述成最簡單的形式:
讀大量資料, 執行某種類型的計算/轉換, 寫出執行結果
Spring Batch provides three key interfaces
to help perform bulk reading and writing: ItemReader, ItemProcessor and ItemWriter.
Spring Batch 提供三個關鍵介面輔助執行大量讀取, 寫入:
ItemReader, ItemProcessor, ItemWriter
參考資料:
https://docs.spring.io/spring-batch/trunk/reference/html/readersAndWriters.html
https://kimmking.gitbooks.io/springbatchreference/06_ItemReaders_ItemWriters/63.html