 | MergeHelperTWriteMerge(String, IListRecordInput, IListRecordInput, Int32, IComparerT, Boolean, String, String, CompressionType, Int32, Boolean) Method |
Writes the result of a merge pass to the specified.
Namespace: Ookii.Jumbo.JetAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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
)
Public Function WriteMerge (
fileName As String,
diskInputs As IList(Of RecordInput),
memoryInputs As IList(Of RecordInput),
maxDiskInputsPerPass As Integer,
comparer As IComparer(Of T),
allowRecordReuse As Boolean,
intermediateOutputPath As String,
passFilePrefix As String,
compressionType As CompressionType,
bufferSize As Integer,
enableChecksum As Boolean
) As Long
public:
long 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
)
member WriteMerge :
fileName : string *
diskInputs : IList<RecordInput> *
memoryInputs : IList<RecordInput> *
maxDiskInputsPerPass : int *
comparer : IComparer<'T> *
allowRecordReuse : bool *
intermediateOutputPath : string *
passFilePrefix : string *
compressionType : CompressionType *
bufferSize : int *
enableChecksum : bool -> int64
Parameters
- fileName String
- The file to write the output to.
- diskInputs IListRecordInput
- The disk inputs.
- memoryInputs IListRecordInput
- The memory inputs.
- maxDiskInputsPerPass Int32
- The maximum number of disk inputs per merge pass.
- comparer IComparerT
- The IComparerT to use, or to use the default. Do not pass Default.
- allowRecordReuse Boolean
- if set to , the result of the pass will reuse the same instance of T for each pass.
- intermediateOutputPath String
- The path to store intermediate passes.
- passFilePrefix String
- The pass file prefix.
- compressionType CompressionType
- The type of the compression to use for intermediate passes.
- bufferSize Int32
- The buffer size to use when writing output passes.
- enableChecksum Boolean
- if set to , checksums will be enabled for intermediate passes.
Return Value
Int64
The uncompressed size of the written data.
See Also