Summer.Batch.Extra.Sort.IOutputFile< T > Interface Template Reference
Class that represents an output file and its associated options (e.g., filter, formatter). More...
Inheritance diagram for Summer.Batch.Extra.Sort.IOutputFile< T >:
Public Member Functions | |
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< 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
Class that represents an output file and its associated options (e.g., filter, formatter).
- Template Parameters
-
T
- Type Constraints
-
T : class
Member Function Documentation
void Summer.Batch.Extra.Sort.IOutputFile< T >.OpenWriter | ( | IRecordAccessorFactory< T > | recordAccessorFactory | ) |
Opens the writer for this output file.
- Parameters
-
recordAccessorFactory The record accessor factory to use to open the record writer.
void Summer.Batch.Extra.Sort.IOutputFile< T >.Write | ( | T | record | ) |
Writes a record.
- Parameters
-
record the record to write
void Summer.Batch.Extra.Sort.IOutputFile< T >.WriteHeader | ( | IEnumerable< T > | header | ) |
Writes the header
- Parameters
-
header The header, as a list of records.
Property Documentation
|
getset |
The filter used for selecting the records that are written in this output file.
|
getset |
Formatter used while writing records.
|
getset |
The output file.
The documentation for this interface was generated from the following file:
- Summer.Batch.Extra/Sort/IOutputFile.cs