Click or drag to resize

MergeHelperTWriteMerge Method (String, IListRecordInput, IListRecordInput, Int32, IComparerT, Boolean, String, String, CompressionType, Int32, Boolean)

Writes the result of a merge pass to the specified.

Namespace:  Ookii.Jumbo.Jet
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public long WriteMerge(
	string fileName,
	IList<RecordInput> diskInputs,
	IList<RecordInput> memoryInputs,
	int maxDiskInputsPerPass,
	IComparer<T> comparer,
	bool allowRecordReuse,
	string intermediateOutputPath,
	string passFilePrefix,
	CompressionType compressionType,
	int bufferSize,
	bool enableChecksum
)

Parameters

fileName
Type: SystemString
The file to write the output to.
diskInputs
Type: System.Collections.GenericIListRecordInput
The disk inputs.
memoryInputs
Type: System.Collections.GenericIListRecordInput
The memory inputs.
maxDiskInputsPerPass
Type: SystemInt32
The maximum number of disk inputs per merge pass.
comparer
Type: System.Collections.GenericIComparerT
The IComparerT to use, or to use the default. Do not pass Default.
allowRecordReuse
Type: SystemBoolean
if set to , the result of the pass will reuse the same instance of T for each pass.
intermediateOutputPath
Type: SystemString
The path to store intermediate passes.
passFilePrefix
Type: SystemString
The pass file prefix.
compressionType
Type: Ookii.JumboCompressionType
The type of the compression to use for intermediate passes.
bufferSize
Type: SystemInt32
The buffer size to use when writing output passes.
enableChecksum
Type: SystemBoolean
if set to , checksums will be enabled for intermediate passes.

Return Value

Type: Int64
The uncompressed size of the written data.
See Also