[This is preliminary documentation and is subject to change.]
Joins this collection with the other collection, using the respective integer-valued key selectors.
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<TOutput, TTime> Join<TValue1, TValue2, TRecord2, TOutput>( Collection<TRecord2, TTime> other, Expression<Func<TRecord, int>> keySelector1, Expression<Func<TRecord2, int>> keySelector2, Expression<Func<TRecord, TValue1>> valueSelector1, Expression<Func<TRecord2, TValue2>> valueSelector2, Expression<Func<int, TValue1, TValue2, TOutput>> resultSelector, bool useDenseIntKeys ) where TValue1 : Object, IEquatable<TValue1> where TValue2 : Object, IEquatable<TValue2> where TRecord2 : Object, IEquatable<TRecord2> where TOutput : Object, IEquatable<TOutput>
Parameters
- other
- Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord2, TTime
The other collection. - keySelector1
- Type: System.Linq.ExpressionsExpressionFuncTRecord, Int32
The key selector applied to records in this collection. - keySelector2
- Type: System.Linq.ExpressionsExpressionFuncTRecord2, Int32
The key selector applied to records in the other collection. - valueSelector1
- Type: System.Linq.ExpressionsExpressionFuncTRecord, TValue1
Function that transforms a record in this collection to the intermediate value that is stored for each record. - valueSelector2
- Type: System.Linq.ExpressionsExpressionFuncTRecord2, TValue2
Function that transforms a record in the other collection to the intermediate value that is stored for each record. - resultSelector
- Type: System.Linq.ExpressionsExpressionFuncInt32, TValue1, TValue2, TOutput
Function that transforms intermediate values from records with matching keys to an output record. - useDenseIntKeys
- Type: SystemBoolean
If true, use optimizations for dense-valued keys, otherwise treat keys as sparse.
Type Parameters
- TValue1
- The type of intermediate values stored for this collection.
- TValue2
- The type of intermediate values stored from the other collection.
- TRecord2
- The type of records in the other collection.
- TOutput
- The result type.
Return Value
Type: CollectionTOutput, TTimeThe collection of output records.
Remarks
See Also