| 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
)
Public Shared Sub ReversePairs(Of TKey, TValue) (
record As Pair(Of TKey, TValue),
output As RecordWriter(Of Pair(Of TValue, TKey))
)
public:
generic<typename TKey, typename TValue>
static void ReversePairs(
Pair<TKey, TValue>^ record,
RecordWriter<Pair<TValue, TKey>^>^ output
)
static member ReversePairs :
record : Pair<'TKey, 'TValue> *
output : RecordWriter<Pair<'TValue, 'TKey>> -> unit
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