Summer.Batch.Infrastructure.Item.Support.AbstractItemStreamItemReader< T > Class Template Referenceabstract
Base class for T:IItemReader implementations. More...
Inheritance diagram for Summer.Batch.Infrastructure.Item.Support.AbstractItemStreamItemReader< T >:
Public Member Functions | |
abstract T | Read () |
Reads a piece of input data and advance to the next one. Implementations must return null at the end of the input data set. In a transactional setting, caller might get the same item twice from successive calls (or otherwise), if the first call was in a transaction that rolled back. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport | |
virtual void | Close () |
Close the stream More... | |
virtual void | Open (ExecutionContext executionContext) |
Opens the stream. More... | |
virtual void | Update (ExecutionContext executionContext) |
Updates the stream. More... | |
virtual void | Flush () |
Flushes the stream. More... | |
string | GetExecutionContextKey (string key) |
Transform the given key to use the name of this instance as prefix. More... | |
virtual void | Dispose () |
Additional Inherited Members | |
Protected Member Functions inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport | |
virtual void | Dispose (bool disposing) |
Does the actual dipose, delegating to Close(); More... | |
Properties inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport | |
string | Name [set] |
The name of the component that will be used as prefix for keys in the execution context. More... | |
Detailed Description
Base class for T:IItemReader implementations.
- Template Parameters
-
T
- Type Constraints
-
T : class
Member Function Documentation
|
pure virtual |
Reads a piece of input data and advance to the next one. Implementations must return null
at the end of the input data set. In a transactional setting, caller might get the same item twice from successive calls (or otherwise), if the first call was in a transaction that rolled back.
- Returns
- Exceptions
-
Exception UnexpectedInputException NonTransientResourceException ParseException
Implemented in Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T >.
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/Support/AbstractItemStreamItemReader.cs