DryadLinqQueryableApplyWithPartitionIndexT1, T2 Method DryadLINQ documentation
Computes a user-defined function on each partition of the input. The function takes a partition and its partition index as arguments.

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> ApplyWithPartitionIndex<T1, T2>(
	this IQueryable<T1> source,
	Expression<Func<IEnumerable<T1>, int, IEnumerable<T2>>> procFunc
)

Parameters

source
Type: System.LinqIQueryableT1
The input dataset
procFunc
Type: System.Linq.ExpressionsExpressionFuncIEnumerableT1, Int32, IEnumerableT2
The function to apply to each partition

Type Parameters

T1
The type of the input records
T2
The type of the output records

Return Value

Type: IQueryableT2
An IQueryable formed by concatenating the results of applying the function to each partition

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

Reference