NonStandardExtensionMethodsSelectByVertexTInput, TOutput, TTime Method Naiad Help

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

Transforms each record in the input stream using the given selector function.

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

C#
public static Stream<TOutput, TTime> SelectByVertex<TInput, TOutput, TTime>(
	this Stream<TInput, TTime> stream,
	Func<int, TInput, TOutput> selector
)
where TTime : Object, Time<TTime>

Parameters

stream
Type: Microsoft.Research.NaiadStreamTInput, TTime
The input stream.
selector
Type: SystemFuncInt32, TInput, TOutput
Function that transforms a vertex ID and record to an output record.

Type Parameters

TInput
The type of the input records.
TOutput
The type of the transformed records.
TTime
The type of timestamp on each record.

Return Value

Type: StreamTOutput, TTime
The stream of transformed records.

Usage Note

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

This overload supports the inclusion of location information in the result, which can be used to optimized data transfer.
See Also

Reference