Implementation of IRecordReader<T> for records separated by a specific separator.
More...
|
virtual void | Dispose (bool disposing) |
| Actually disposes the current object. More...
|
|
|
byte[] | Separator [get, set] |
| The bytes corresponding to a record separator. More...
|
|
Implementation of IRecordReader<T> for records separated by a specific separator.
Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.SeparatorRecordReader |
( |
Stream |
stream | ) |
|
Default constructor.
- Parameters
-
stream | the stream to read from |
void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.Dispose |
( |
| ) |
|
- See also
- IDisposable::Dispose
virtual void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
Actually disposes the current object.
- Parameters
-
disposing | Indicates whether the method was invoked from the IDisposable.Dispose implementation or from the finalizer |
byte [] Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.Read |
( |
| ) |
|
Reads a record.
- Returns
- the read record, or
null
if the end has been reached
IEnumerable<byte[]> Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.ReadHeader |
( |
int |
headerSize | ) |
|
Reads the header.
- Parameters
-
headerSize | the size of the header |
- Returns
- the header as a list of records
byte [] Summer.Batch.Extra.Sort.Legacy.SeparatorRecordReader.Separator |
|
getset |
The bytes corresponding to a record separator.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Sort/Legacy/SeparatorRecordReader.cs