ExtensionMethodsPartitionByTRecord, TTime Method Naiad Help

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

Partitions a stream by a function.

Namespace: Microsoft.Research.Naiad.Dataflow.PartitionBy
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static Stream<TRecord, TTime> PartitionBy<TRecord, TTime>(
	this Stream<TRecord, TTime> stream,
	Expression<Func<TRecord, int>> partitionBy
)
where TTime : Object, Time<TTime>

Parameters

stream
Type: Microsoft.Research.NaiadStreamTRecord, TTime
stream
partitionBy
Type: System.Linq.ExpressionsExpressionFuncTRecord, Int32
partitioning function

Type Parameters

TRecord
record type
TTime
time type

Return Value

Type: StreamTRecord, TTime
a repartitioned stream

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTRecord, 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).
See Also

Reference