[This is preliminary documentation and is subject to change.]
Instructs downstream operators to assume that the input collection is
partitioned according to 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#
public static Collection<TRecord, TTime> AssumePartitionedBy<TRecord, TTime, TKey>( this Collection<TRecord, TTime> input, Expression<Func<TRecord, TKey>> keySelector ) where TRecord : Object, IEquatable<TRecord> where TTime : Object, Time<TTime> where TKey : Object, IEquatable<TKey>
Parameters
- input
- Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord, TTime
The input collection. - keySelector
- Type: System.Linq.ExpressionsExpressionFuncTRecord, TKey
Function that extracts a key from each record.
Type Parameters
- TRecord
- The type of the input records.
- TTime
- The type of timestamp on each record.
- TKey
- The key type.
Return Value
Type: CollectionTRecord, TTimeThe input collection.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type CollectionTRecord, TTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
See Also