Summer.Batch.Extra.Delegating.DelegatingGroupReader< T > Class Template Reference

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...

Inheritance diagram for Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >:

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

Simply delegating to the inner grouped reader

virtual void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Dispose ( )
virtual

Releases the resources used by the reader.

void Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.Dispose ( bool  disposing)
protected

Actually disposes the current object.

Parameters
disposingIndicates whether the method was invoked from the IDisposable.Dispose implementation or from the finalizer

Flushes the delegate writer if it is an instance of IItemStream.

Simply delegating to the inner grouped reader

Parameters
executionContext

Read through the delegate, grouping records in a list.

Returns
the list of read records
Exceptions
Exception 
static string Summer.Batch.Extra.Delegating.DelegatingGroupReader< T >.ToString ( string[]  field)
static

Dump field to string

Parameters
field
Returns

Simply delegating to the inner grouped reader

Parameters
executionContext

Property Documentation

The delegate, i.e. the real reader that is grouped.

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