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

Implementation of IOutputFile<T> for byte array records. More...

Inheritance diagram for Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile:
Summer.Batch.Extra.Sort.IOutputFile< byte[]>

Public Member Functions

void OpenWriter (IRecordAccessorFactory< byte[]> recordAccessorFactory)
 Opens the writer for this output file. More...
 
void Write (byte[] record)
 Writes a record. More...
 
void WriteHeader (IEnumerable< byte[]> header)
 Writes the header More...
 
void Dispose ()
 Releases the used resources. More...
 
- Public Member Functions inherited from Summer.Batch.Extra.Sort.IOutputFile< byte[]>
void OpenWriter (IRecordAccessorFactory< T > recordAccessorFactory)
 Opens the writer for this output file. More...
 
void Write (T record)
 Writes a record. More...
 
void WriteHeader (IEnumerable< T > header)
 Writes the header More...
 

Properties

FileInfo Output [get, set]
 The output file. More...
 
IFilter< byte[]> Filter [get, set]
 The filter used for selecting the records that are written in this output file. More...
 
IFormatter< byte[]> Formatter [get, set]
 Formatter used while writing records. More...
 
- Properties inherited from Summer.Batch.Extra.Sort.IOutputFile< byte[]>
FileInfo Output [get, set]
 The output file. More...
 
IFilter< T > Filter [get, set]
 The filter used for selecting the records that are written in this output file. More...
 
IFormatter< T > Formatter [get, set]
 Formatter used while writing records. More...
 

Detailed Description

Implementation of IOutputFile<T> for byte array records.

Member Function Documentation

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

Releases the used resources.

void Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile.OpenWriter ( IRecordAccessorFactory< byte[]>  recordAccessorFactory)

Opens the writer for this output file.

Parameters
recordAccessorFactoryThe record accessor factory to use to open the record writer.
void Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile.Write ( byte[]  record)

Writes a record.

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

Writes the header

Parameters
headerThe header, as a list of records.

Property Documentation

IFilter<byte[]> Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile.Filter
getset

The filter used for selecting the records that are written in this output file.

IFormatter<byte[]> Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile.Formatter
getset

Formatter used while writing records.

FileInfo Summer.Batch.Extra.Sort.Legacy.LegacyOutputFile.Output
getset

The output file.


The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Sort/Legacy/LegacyOutputFile.cs