[This is preliminary documentation and is subject to change.]
Computes the number of occurrences of each node in the input.
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<long>, TTime> CountNodes<TTime>( this Stream<Node, TTime> nodes ) where TTime : Object, Time<TTime>
Parameters
- nodes
- Type: Microsoft.Research.NaiadStreamNode, TTime
The input stream.
Type Parameters
- TTime
- The type of timestamp on each record.
Return Value
Type: StreamNodeWithValueInt64, TTimeThe stream of nodes whose associated value if the number of occurrences of each node in the input.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamNode, 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