Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter Class Reference

Implementation of IRecordWriter<T> for records separated by a specific separator. More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter:
Summer.Batch.Extra.Sort.IRecordWriter< byte[]>

Public Member Functions

 SeparatorRecordWriter (Stream stream)
 Default constructor. More...
 
void Write (byte[] record)
 Writes a record. More...
 
void WriteHeader (IEnumerable< byte[]> header)
 Writes the header More...
 
void Dispose ()
 
- Public Member Functions inherited from Summer.Batch.Extra.Sort.IRecordWriter< byte[]>
void Write (T record)
 Writes a record. More...
 
void WriteHeader (IEnumerable< T > header)
 Writes the header More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Actually disposes the current object. More...
 

Properties

byte[] Separator [get, set]
 The bytes corresponding to a record separator. More...
 

Detailed Description

Implementation of IRecordWriter<T> for records separated by a specific separator.

Constructor & Destructor Documentation

Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.SeparatorRecordWriter ( Stream  stream)

Default constructor.

Parameters
streamthe stream to write to

Member Function Documentation

void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.Dispose ( )

See also
IDisposable::Dispose
virtual void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.Dispose ( bool  disposing)
protectedvirtual

Actually disposes the current object.

Parameters
disposingIndicates whether the method was invoked from the IDisposable.Dispose implementation or from the finalizer
void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.Write ( byte[]  record)

Writes a record.

Parameters
recordthe record to write
void Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.WriteHeader ( IEnumerable< byte[]>  header)

Writes the header

Parameters
headerthe header, as a list of records

Property Documentation

byte [] Summer.Batch.Extra.Sort.Legacy.SeparatorRecordWriter.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/SeparatorRecordWriter.cs