This class delegates reading to the inner reader and accumulates the records while no rupture is found, using the supplied rupture definition (list of fields separated by commas). More...
Public Member Functions | |
void | Open (ExecutionContext executionContext) |
Simply delegating to the inner grouped reader More... | |
void | Update (ExecutionContext executionContext) |
Simply delegating to the inner grouped reader More... | |
void | Close () |
Simply delegating to the inner grouped reader More... | |
void | Flush () |
Flushes the delegate writer if it is an instance of IItemStream. More... | |
List< T > | Read () |
Read through the delegate, grouping records in a list. More... | |
virtual void | Dispose () |
Releases the resources used by the reader. More... | |
Static Public Member Functions | |
static string | ToString (string[] field) |
Dump field to string More... | |
Protected Member Functions | |
void | Dispose (bool disposing) |
Actually disposes the current object. More... | |
Properties | |
IItemReader< T > | Delegate [set] |
The delegate, i.e. the real reader that is grouped. More... | |
string | RuptureFields [set] |
Registers the names of the relevant fields to check a rupture. More... | |
Detailed Description
This class delegates reading to the inner reader and accumulates the records while no rupture is found, using the supplied rupture definition (list of fields separated by commas).
- Template Parameters
-
T The type of objects read by the reader
- Type Constraints
-
T : class
Member Function Documentation
void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Close | ( | ) |
Simply delegating to the inner grouped reader
|
virtual |
Releases the resources used by the reader.
|
protected |
Actually disposes the current object.
- Parameters
-
disposing Indicates whether the method was invoked from the IDisposable.Dispose implementation or from the finalizer
void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Flush | ( | ) |
Flushes the delegate writer if it is an instance of IItemStream.
void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Open | ( | ExecutionContext | executionContext | ) |
Simply delegating to the inner grouped reader
- Parameters
-
executionContext
List<T> Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Read | ( | ) |
Read through the delegate, grouping records in a list.
- Returns
- the list of read records
- Exceptions
-
Exception
|
static |
Dump field to string
- Parameters
-
field
- Returns
void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Update | ( | ExecutionContext | executionContext | ) |
Simply delegating to the inner grouped reader
- Parameters
-
executionContext
Property Documentation
|
set |
The delegate, i.e. the real reader that is grouped.
|
set |
Registers the names of the relevant fields to check a rupture.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Delegating/DelegatingGroupReader.cs