Click or drag to resize

AdvancedWordCountReversePairsTKey, TValue Method

Reverses the key and value of a pair.

Namespace:  Ookii.Jumbo.Jet.Samples
Assembly:  Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax
public static void ReversePairs<TKey, TValue>(
	Pair<TKey, TValue> record,
	RecordWriter<Pair<TValue, TKey>> output
)

Parameters

record
Type: Ookii.Jumbo.IOPairTKey, TValue
The record.
output
Type: Ookii.Jumbo.IORecordWriterPairTValue, TKey
The output.

Type Parameters

TKey
The type of the key.
TValue
The type of the value.
See Also