Specifies a stream URI to be populated with the result of a specified DryadLINQ query.
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<TSource> ToStore<TSource>( this IQueryable<TSource> source, string dataSetUri, bool deleteIfExists = false, Expression<Action<IEnumerable<TSource>, Stream>> serializer = null, Expression<Func<Stream, IEnumerable<TSource>>> deserializer = null )
Parameters
- source
- Type: System.LinqIQueryableTSource
The data source - dataSetUri
- Type: SystemString
A stream name - deleteIfExists (Optional)
- Type: SystemBoolean
If this flag is true, delete the output stream if it already exisit before execution - serializer (Optional)
- Type: System.Linq.ExpressionsExpressionActionIEnumerableTSource, Stream
An optional stream-based serializer - deserializer (Optional)
- Type: System.Linq.ExpressionsExpressionFuncStream, IEnumerableTSource
An optional stream-based deserializer
Type Parameters
- TSource
- The type of the records of the table
Return Value
Type: IQueryableTSourceA query representing the output data.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableTSource. 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