DryadLinqContextFromEnumerableT Method DryadLINQ documentation
Converts an IEnumerable{T} to a DryadLinq specialized IQueryable{T}.

Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax

public IQueryable<T> FromEnumerable<T>(
	IEnumerable<T> data,
	Expression<Action<IEnumerable<T>, Stream>> serializer = null,
	Expression<Func<Stream, IEnumerable<T>>> deserializer = null
)

Parameters

data
Type: System.Collections.GenericIEnumerableT
The source data.
serializer (Optional)
Type: System.Linq.ExpressionsExpressionActionIEnumerableT, Stream
An optional stream-based serializer
deserializer (Optional)
Type: System.Linq.ExpressionsExpressionFuncStream, IEnumerableT
An optional stream-based deserializer

Type Parameters

T
The type of the records in the table.

Return Value

Type: IQueryableT
An IQueryable{T} representing the data with DryadLinq query provider.
Remarks

The source data will be serialized to a temp stream. The resulting fileset has an auto-generated name and a temporary lease.
See Also

Reference