Summer.Batch.Extra.Sort.Legacy.SeparatorAccessorFactory Class Reference
Implementation of IRecordAccessorFactory<T> for records separated by a specific separator. More...
Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.SeparatorAccessorFactory:
Public Member Functions | |
SeparatorAccessorFactory () | |
Default constructor. More... | |
IRecordReader< byte[]> | CreateReader (Stream stream) |
Creates a new SeparatorRecordReader. More... | |
IRecordWriter< byte[]> | CreateWriter (Stream stream) |
Creates a new SeparatorRecordWriter. More... | |
Public Member Functions inherited from Summer.Batch.Extra.Sort.IRecordAccessorFactory< byte[]> | |
IRecordReader< T > | CreateReader (Stream stream) |
Creates a new IRecordReader<T>. More... | |
IRecordWriter< T > | CreateWriter (Stream stream) |
Creates a new IRecordWriter<T>. More... | |
Properties | |
byte[] | Separator [get, set] |
The bytes corresponding to the separator between records. It will not be returned as part of the record. Default is Environment.NewLine encoded using Encoding.Default. More... | |
Detailed Description
Implementation of IRecordAccessorFactory<T> for records separated by a specific separator.
Constructor & Destructor Documentation
Summer.Batch.Extra.Sort.Legacy.SeparatorAccessorFactory.SeparatorAccessorFactory | ( | ) |
Default constructor.
Member Function Documentation
IRecordReader<byte[]> Summer.Batch.Extra.Sort.Legacy.SeparatorAccessorFactory.CreateReader | ( | Stream | stream | ) |
Creates a new SeparatorRecordReader.
- Parameters
-
stream the stream to read from
- Returns
- a new SeparatorRecordReader
IRecordWriter<byte[]> Summer.Batch.Extra.Sort.Legacy.SeparatorAccessorFactory.CreateWriter | ( | Stream | stream | ) |
Creates a new SeparatorRecordWriter.
- Parameters
-
stream the stream to write to
- Returns
- a new SeparatorRecordWriter
Property Documentation
|
getset |
The bytes corresponding to the separator between records. It will not be returned as part of the record. Default is Environment.NewLine encoded using Encoding.Default.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/Legacy/SeparatorAccessorFactory.cs