[This is preliminary documentation and is subject to change.]
Factory to produce a stage consisting of these vertices.
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> MakeStage( Placement placement, Stream<TInput, TTime> stream, Func<int, Stage<TTime>, UnaryVertex<TInput, TOutput, TTime>> factory, Expression<Func<TInput, int>> inputPartitionBy, Expression<Func<TOutput, int>> outputPartitionBy, string name )
Parameters
- placement
- Type: Microsoft.Research.Naiad.DataflowPlacement
Placement to use for vertices in the stage - stream
- Type: Microsoft.Research.NaiadStreamTInput, TTime
Source data stream - factory
- Type: SystemFuncInt32, StageTTime, UnaryVertexTInput, TOutput, TTime
Function from index and stage to a UnaryVertex - inputPartitionBy
- Type: System.Linq.ExpressionsExpressionFuncTInput, Int32
input partitioning requirement - outputPartitionBy
- Type: System.Linq.ExpressionsExpressionFuncTOutput, Int32
output partitioning guarantee - name
- Type: SystemString
console-friendly name
Return Value
Type: StreamTOutput, TTimestream of records from the vertices
See Also