ExtensionMethodsRenameUsingTInput, TIdentifier Method (StreamTInput, Epoch, AutoRenamerTIdentifier, FuncTInput, TIdentifier)Naiad Help

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

Uses an AutoRenamer to create and attach names to records in an input stream based on identifiers producer by an identifierSelector function.

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

C#
public static Stream<NodeWithValue<TInput>, IterationIn<Epoch>> RenameUsing<TInput, TIdentifier>(
	this Stream<TInput, Epoch> stream,
	AutoRenamer<TIdentifier> renamer,
	Func<TInput, TIdentifier> identifierSelector
)

Parameters

stream
Type: Microsoft.Research.NaiadStreamTInput, Epoch
The input stream
renamer
Type: Microsoft.Research.Naiad.Frameworks.GraphLINQAutoRenamerTIdentifier
The AutoRenamer
identifierSelector
Type: SystemFuncTInput, TIdentifier
Function from input record to identifier

Type Parameters

TInput
Input record type
TIdentifier
Identifier type

Return Value

Type: StreamNodeWithValueTInput, IterationInEpoch
A stream of pairs of input record and the node corresponding to the record's identifier

Usage Note

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