CollectionTRecord, TTimeUnion Method Naiad Help

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

Computes the multiset union of this collection and the other collection.

Namespace: Microsoft.Research.Naiad.Frameworks.DifferentialDataflow
Assembly: Microsoft.Research.Naiad.DifferentialDataflow (in Microsoft.Research.Naiad.DifferentialDataflow.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
Collection<TRecord, TTime> Union(
	Collection<TRecord, TTime> other
)

Parameters

other
Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord, TTime
The other collection.

Return Value

Type: CollectionTRecord, TTime
The collection containing the multiset union of the two input collections.
Remarks

The multiset union contains each record in either this collection or the other collection. For each record in either collection, the multiplicity of that record in the multiset union will be the greater of its multiplicities in either collection. The union operator is stateful. If precise multiplicities are not important (e.g. because the output feeds into a Distinct, AggregateTKey, TValue, TOutput(ExpressionFuncTRecord, TKey, ExpressionFuncTRecord, TValue, ExpressionFuncInt64, TValue, TValue, TValue, ExpressionFuncTValue, Boolean, ExpressionFuncTKey, TValue, TOutput), or similarly idempotent operator), the Concat(CollectionTRecord, TTime) operator is a more efficient substitute.
See Also

Reference