Click or drag to resize

JobBuilderInnerJoin Method

Performs an inner equi-join on two inputs.

Namespace: Ookii.Jumbo.Jet.Jobs.Builder
Assembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public InnerJoinOperation InnerJoin(
	IOperationInput outerInput,
	IOperationInput innerInput,
	Type innerJoinRecordReaderType,
	Type outerComparerType,
	Type innerComparerType
)

Parameters

outerInput  IOperationInput
The outer input for the join operation.
innerInput  IOperationInput
The inner input for the join operation.
innerJoinRecordReaderType  Type
Type of the inner join record reader.
outerComparerType  Type
Type of the comparer used to sort the outer relation. May be . May be a generic type definition with a single type parameter. Both IComparerT and IRawComparerT are supported, but using IRawComparerT is strongly recommended.
innerComparerType  Type
Type of the comparer used to sort the inner relation. May be . May be a generic type definition with a single type parameter. Both IComparerT and IRawComparerT are supported, but using IRawComparerT is strongly recommended.

Return Value

InnerJoinOperation
An InnerJoinOperation instance that can be used to further customize the operation.
Remarks

This operation joins two inputs by first sorting them (by using a spill sort on the input channel for each input) and then joining them using an inner equi-join using the InnerJoinRecordReaderTOuter, TInner, TResult.

In order for the join to be performed correctly, both the outer and inner input must be sorted on the join attribute. Please set outerComparerType and innerComparerType accordingly.

If the join uses more than one task, both the outer and inner input must be partitioned on the join attribute. For this purpose, the outerComparerType or innerComparerType should also implement IEqualityComparerT, or you should manually set a different PartitionerType.

See Also