| MergeHelperTMerge Method (IListRecordInput, IListRecordInput, Int32, IComparerT, Boolean, Boolean, String, String, CompressionType, Int32, Boolean) |
Merges the specified inputs.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public MergeResult<T> Merge(
IList<RecordInput> diskInputs,
IList<RecordInput> memoryInputs,
int maxDiskInputsPerPass,
IComparer<T> comparer,
bool allowRecordReuse,
bool forceDeserialization,
string intermediateOutputPath,
string passFilePrefix,
CompressionType compressionType,
int bufferSize,
bool enableChecksum
)
Public Function Merge (
diskInputs As IList(Of RecordInput),
memoryInputs As IList(Of RecordInput),
maxDiskInputsPerPass As Integer,
comparer As IComparer(Of T),
allowRecordReuse As Boolean,
forceDeserialization As Boolean,
intermediateOutputPath As String,
passFilePrefix As String,
compressionType As CompressionType,
bufferSize As Integer,
enableChecksum As Boolean
) As MergeResult(Of T)
public:
MergeResult<T>^ Merge(
IList<RecordInput^>^ diskInputs,
IList<RecordInput^>^ memoryInputs,
int maxDiskInputsPerPass,
IComparer<T>^ comparer,
bool allowRecordReuse,
bool forceDeserialization,
String^ intermediateOutputPath,
String^ passFilePrefix,
CompressionType compressionType,
int bufferSize,
bool enableChecksum
)
member Merge :
diskInputs : IList<RecordInput> *
memoryInputs : IList<RecordInput> *
maxDiskInputsPerPass : int *
comparer : IComparer<'T> *
allowRecordReuse : bool *
forceDeserialization : bool *
intermediateOutputPath : string *
passFilePrefix : string *
compressionType : CompressionType *
bufferSize : int *
enableChecksum : bool -> MergeResult<'T>
Parameters
- 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 or IRawComparerT to use, or to use the default. Do not manually pass Default. - allowRecordReuse
- Type: SystemBoolean
if set to , the result of the pass will reuse the same instance of T for each pass. - forceDeserialization
- Type: SystemBoolean
if set to , don't use raw comparisons for the final pass, but force deserialization. - 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:
MergeResultT
An
IEnumerableT that can be used to get the merge results.
See Also