[This is preliminary documentation and is subject to change.]
Creates a new stage with one input and no outputs.
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 void NewSinkStage<TOutput, TTime>( this Stream<TOutput, TTime> source, Func<int, Stage<TTime>, SinkVertex<TOutput, TTime>> factory, Expression<Func<TOutput, int>> inputPartitionBy, string name ) where TTime : Object, Time<TTime>
Parameters
- source
- Type: Microsoft.Research.NaiadStreamTOutput, TTime
Source of records - factory
- Type: SystemFuncInt32, StageTTime, SinkVertexTOutput, TTime
Vertex factory - inputPartitionBy
- Type: System.Linq.ExpressionsExpressionFuncTOutput, Int32
Partitioning requirement - name
- Type: SystemString
Descriptive name
Type Parameters
- TOutput
- Source type
- TTime
- Time type
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTOutput, 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