Click or drag to resize

BigFileSorterT Class

This class help to sort really big files using the External Sorting algorithm http://en.wikipedia.org/wiki/External_sorting
Inheritance Hierarchy
SystemObject
  FileHelpersBigFileSorterT
    FileHelpersBigFileSorter

Namespace:  FileHelpers
Assembly:  FileHelpers (in FileHelpers.dll) Version: 3.2.6
Syntax
public class BigFileSorter<T>
where T : class, Object, IComparable<T>

Type Parameters

T
Type of record to sort

The BigFileSorterT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBlockFileSizeInBytes
The Size of each block that will be sorted in memory which are later merged together
Public propertyDeleteTempFiles
Indicates if the temporary files will be deleted (True by default)
Public propertyEncoding
The Encoding used to read and write the files
Public propertyRunGcCollectForEachPart
Indicates if the Sorter run a GC.Collect() after sort and write each part. Default is true.
Public propertyTempDirectory
The directory for the temp files (by the default the same directory as sourceFile)
Top
Methods
  NameDescription
Public methodSort
Sort a file from one filename to another filename
Top
See Also