Summer.Batch.Infrastructure.Item.IItemStreamReader< out out T > Interface Template Reference
Convenience interface that combines IItemStream and T:IItemReader. More...
Inheritance diagram for Summer.Batch.Infrastructure.Item.IItemStreamReader< out out T >:
Additional Inherited Members | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.IItemStream | |
void | Open (ExecutionContext executionContext) |
Open the stream for the provided ExecutionContext. More... | |
void | Update (ExecutionContext executionContext) |
Indicates that the execution context provided during open is about to be saved. If any state is remaining, but has not been put in the context, it should be added here. More... | |
void | Flush () |
Flushes the stream if able. More... | |
void | Close () |
If any resources are needed for the stream to operate they need to be destroyed here. Once this method has been called all other methods (except open) may throw an exception. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.IItemReader< T > | |
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... | |
Detailed Description
Convenience interface that combines IItemStream and T:IItemReader.
- Template Parameters
-
T the type of the read items
- Type Constraints
-
T : class
The documentation for this interface was generated from the following file:
- Summer.Batch.Infrastructure/Item/IItemStreamReader.cs