[This is preliminary documentation and is subject to change.]
Aggregates the values associated with each node at each process using the given combiner independently for each time.
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<TValue>, TTime> NodeAggregateLocally<TValue, TTime>( this Stream<NodeWithValue<TValue>, TTime> nodes, Func<TValue, TValue, TValue> combiner ) where TTime : Object, Time<TTime>
Parameters
- nodes
- Type: Microsoft.Research.NaiadStreamNodeWithValueTValue, TTime
The stream of nodes with values. - combiner
- Type: SystemFuncTValue, TValue, TValue
A function from current value and incoming value, to the new value.
Type Parameters
- TValue
- The type of value associated with each node.
- TTime
- The type of timestamp on each record.
Return Value
Type: StreamNodeWithValueTValue, TTimeThe stream of aggregated values at each process for each unique node in nodes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamNodeWithValueTValue, 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).Remarks
See Also