Appendix A: List of ItemReaders and ItemWriters
Item Readers
Item Reader | Description |
---|---|
|
Abstract base class that provides basic
restart capabilities by counting the number of items returned from
an |
|
An |
|
Given a Spring |
|
An |
|
Reads from a flat file. Includes |
|
Reads from a cursor based on an HQL query. See
|
|
Reads from a paginated HQL query. |
|
Adapts any class to the
|
|
Reads from a database cursor over JDBC. See “Cursor-based ItemReaders”. |
|
Given an SQL statement, pages through the rows, such that large datasets can be read without running out of memory. |
|
Given a Spring |
|
Given a JPQL statement, pages through the rows, such that large datasets can be read without running out of memory. |
|
Provides the items from a list, one at a time. |
|
Given a |
|
Given a |
|
Given a Spring Data |
|
Reads from a database cursor resulting from the
execution of a database stored procedure. See |
|
Reads over StAX. see |
|
Reads items from a Json document. see |
Item Writers
Item Writer | Description |
---|---|
|
Abstract base class that combines the
|
|
Given a Spring |
|
Passes an item to the |
|
Writes to a flat file. Includes |
|
Using a |
|
This item writer is Hibernate-session aware and handles some transaction-related work that a non-“hibernate-aware” item writer would not need to know about and then delegates to another item writer to do the actual writing. |
|
Adapts any class to the
|
|
Uses batching features from a
|
|
Using a |
|
This item writer is JPA |
|
Using a |
|
Using Spring’s |
|
Given a |
|
Given a |
|
Extends |
|
Given a Spring Data |
|
Uses a |
|
Uses a |