Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T > Class Template Referenceabstract
Abstract implementation of T:ILineAggregator that uses a T:IFieldExtractor to convert the incoming object to an array of its parts. More...
Inheritance diagram for Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T >:
Public Member Functions | |
string | Aggregate (T item) |
Transforms an item into a line. More... | |
Public Member Functions inherited from Summer.Batch.Infrastructure.Item.File.Transform.ILineAggregator< T > | |
string | Aggregate (T item) |
Transforms an item into a line. More... | |
Protected Member Functions | |
ExtractorLineAggregator () | |
Protected default constructor that defines PassThroughFieldExtractor as the default field extractor. More... | |
abstract string | DoAggregate (object[] fields) |
Aggregates the extracted fields to a string. More... | |
Properties | |
IFieldExtractor< T > | FieldExtractor [get, set] |
The field extractor for the elements that are aggregated More... | |
Detailed Description
Abstract implementation of T:ILineAggregator that uses a T:IFieldExtractor to convert the incoming object to an array of its parts.
- Template Parameters
-
T
- Type Constraints
-
T : class
Constructor & Destructor Documentation
|
protected |
Protected default constructor that defines PassThroughFieldExtractor as the default field extractor.
Member Function Documentation
string Summer.Batch.Infrastructure.Item.File.Transform.ExtractorLineAggregator< T >.Aggregate | ( | T | item | ) |
Transforms an item into a line.
- Parameters
-
item the item to transform
- Returns
- the line corresponding to the given item
|
protectedpure virtual |
Aggregates the extracted fields to a string.
- Parameters
-
fields the extracted fields
- Returns
- the aggregated line
Implemented in Summer.Batch.Infrastructure.Item.File.Transform.FormatterLineAggregator< T >, and Summer.Batch.Infrastructure.Item.File.Transform.DelimitedLineAggregator< T >.
Property Documentation
|
getset |
The field extractor for the elements that are aggregated
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/File/Transform/ExtractorLineAggregator.cs