FoundryNewUnaryStageTInput, TOutput, TTime Method Naiad Help

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

Creates a stage with one input and one output.

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

C#
public static Stream<TOutput, TTime> NewUnaryStage<TInput, TOutput, TTime>(
	this Stream<TInput, TTime> source,
	Func<int, Stage<TTime>, UnaryVertex<TInput, TOutput, TTime>> factory,
	Expression<Func<TInput, int>> inputPartitionBy,
	Expression<Func<TOutput, int>> outputPartitionBy,
	string name
)
where TTime : Object, Time<TTime>

Parameters

source
Type: Microsoft.Research.NaiadStreamTInput, TTime
Source of records
factory
Type: SystemFuncInt32, StageTTime, UnaryVertexTInput, TOutput, TTime
Vertex factory
inputPartitionBy
Type: System.Linq.ExpressionsExpressionFuncTInput, Int32
Partitioning requirement
outputPartitionBy
Type: System.Linq.ExpressionsExpressionFuncTOutput, Int32
Partitioning guarantee
name
Type: SystemString
Descriptive name

Type Parameters

TInput
Source type
TOutput
Result type
TTime
Time type

Return Value

Type: StreamTOutput, TTime
The stage's output

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).
See Also

Reference