CollectionTRecord, TTimePartitionByTKey Method Naiad Help

[This is preliminary documentation and is subject to change.]

Partitions a collection by the given key selector.

Namespace: Microsoft.Research.Naiad.Frameworks.DifferentialDataflow
Assembly: Microsoft.Research.Naiad.DifferentialDataflow (in Microsoft.Research.Naiad.DifferentialDataflow.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
Collection<TRecord, TTime> PartitionBy<TKey>(
	Expression<Func<TRecord, TKey>> keySelector
)

Parameters

keySelector
Type: System.Linq.ExpressionsExpressionFuncTRecord, TKey
Function that extracts a key from each record.

Type Parameters

TKey
The key type.

Return Value

Type: CollectionTRecord, TTime
A collection with the same elements, but in which all records with the same key will be processed by the same worker.
See Also

Reference