Appendix A: List of ItemReaders and ItemWriters
Item Readers
Item Reader | Description | Thread-safe |
---|---|---|
|
Abstract base class that combines the |
Yes |
|
Abstract base class that provides basic
restart capabilities by counting the number of items returned from
an |
No |
|
Abstract base class that provides basic paging features |
No |
|
Abstract base class that provides basic paging features based on Spring Data’s paginated facilities |
No |
|
An |
Yes |
|
Given a Spring |
Yes |
|
An |
No |
|
Reads from a flat file. Includes |
No |
|
Reads from a cursor based on an HQL query. See
|
No |
|
Reads from a paginated HQL query. |
Yes |
|
Adapts any class to the
|
Yes |
|
Reads from a database cursor over JDBC. See “Cursor-based ItemReaders”. |
No |
|
Given an SQL statement, pages through the rows, such that large datasets can be read without running out of memory. |
Yes |
|
Given a Spring |
Yes |
|
Executes a JPQL query and iterates over the returned result set |
No |
|
Given a JPQL query, pages through the rows, such that large datasets can be read without running out of memory. |
Yes |
|
Provides the items from a list, one at a time. |
No |
|
Given a |
Yes |
|
Given a |
Yes |
|
Given a Spring Data |
Yes |
|
Reads from a database cursor resulting from the
execution of a database stored procedure. See |
No |
|
Reads over StAX. see |
No |
|
Reads items from a Json document. see |
No |
|
Reads items from a resource containing serialized Avro objects. |
No |
|
Reads items from a LDIF resource and returns them as |
No |
|
Reads items from a LDIF resource and uses a |
No |
Item Writers
Item Writer | Description | Thread-safe |
---|---|---|
|
Abstract base class that combines the`ItemStream` and`ItemWriter` interfaces. |
Yes |
|
Given a Spring |
Yes |
|
Passes an item to the |
Yes |
|
Writes to a flat file. Includes |
No |
|
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. |
Yes |
|
Adapts any class to the
|
Yes |
|
Uses batching features from a
|
Yes |
|
Using a |
Yes |
|
This item writer is JPA |
Yes |
|
Using a |
No |
|
Using Spring’s |
Yes |
|
Given a |
Yes |
|
Given a |
Yes |
|
Extends |
Yes |
|
Given a Spring Data |
Yes |
|
Uses a |
No |
|
Uses a |
No |
|
Serializes data to an |
No |
|
Item writer that writes items to a |
No |