Compute applyFunc on multiple sources
Namespace: Microsoft.Research.DryadLinqAssembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.1.2.0 (0.1.2.0)
public static IQueryable<T2> ApplyPerPartition<T1, T2>(
this IQueryable<T1> source,
IQueryable<T1>[] otherSources,
Expression<Func<IEnumerable<T1>[], IEnumerable<T2>>> applyFunc,
bool isFirstOnly = false
)
public static IQueryable<T2> ApplyPerPartition<T1, T2>(
this IQueryable<T1> source,
IQueryable<T1>[] otherSources,
Expression<Func<IEnumerable<T1>[], IEnumerable<T2>>> applyFunc,
bool isFirstOnly = false
)
<ExtensionAttribute>
Public Shared Function ApplyPerPartition(Of T1, T2) (
source As IQueryable(Of T1),
otherSources As IQueryable(Of T1)(),
applyFunc As Expression(Of Func(Of IEnumerable(Of T1)(), IEnumerable(Of T2))),
Optional isFirstOnly As Boolean = false
) As IQueryable(Of T2)
<ExtensionAttribute>
Public Shared Function ApplyPerPartition(Of T1, T2) (
source As IQueryable(Of T1),
otherSources As IQueryable(Of T1)(),
applyFunc As Expression(Of Func(Of IEnumerable(Of T1)(), IEnumerable(Of T2))),
Optional isFirstOnly As Boolean = false
) As IQueryable(Of T2)
public:
[ExtensionAttribute]
generic<typename T1, typename T2>
static IQueryable<T2>^ ApplyPerPartition(
IQueryable<T1>^ source,
array<IQueryable<T1>^>^ otherSources,
Expression<Func<array<IEnumerable<T1>^>^, IEnumerable<T2>^>^>^ applyFunc,
bool isFirstOnly = false
)
public:
[ExtensionAttribute]
generic<typename T1, typename T2>
static IQueryable<T2>^ ApplyPerPartition(
IQueryable<T1>^ source,
array<IQueryable<T1>^>^ otherSources,
Expression<Func<array<IEnumerable<T1>^>^, IEnumerable<T2>^>^>^ applyFunc,
bool isFirstOnly = false
)
- T1
- The type of the records of input
- T2
- The type of the records of output
Return Value
Type:
IQueryable T2 The result of computing applyFunc(source, otherSources)
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IQueryable T1 . 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).