Compute applyFunc on multiple sources
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
public static IQueryable<T2> ApplyPerPartition<T1, T2>( this IQueryable<T1> source, IQueryable[] otherSources, Expression<Func<IEnumerable<T1>, IEnumerable[], IEnumerable<T2>>> applyFunc, bool isFirstOnly = false )
Parameters
- source
- Type: System.LinqIQueryableT1
The first input dataset - otherSources
- Type: System.LinqIQueryable
Other input datasets - applyFunc
- Type: System.Linq.ExpressionsExpressionFuncIEnumerableT1, IEnumerable, IEnumerableT2
The function to be applied to the input datasets - isFirstOnly (Optional)
- Type: SystemBoolean
True if only distributive over the first dataset
Type Parameters
- T1
- The type of the records of input
- T2
- The type of the records of output
Return Value
Type: IQueryableT2The result of computing applyFunc(source,pieces)
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableT1. 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