[This is preliminary documentation and is subject to change.]
Writes records to files in an Azure directory.
Namespace: Microsoft.Research.Naiad.Frameworks.Azure
Assembly: Microsoft.Research.Naiad.AzureSupport (in Microsoft.Research.Naiad.AzureSupport.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static Subscription WriteToAzureBlobs<TRecord>( this Stream<TRecord, Epoch> source, CloudBlobContainer container, string format, Func<CloudBlobStream, IObserver<TRecord>> writer )
Parameters
- source
- Type: Microsoft.Research.NaiadStreamTRecord, Epoch
Source stream - container
- Type: CloudBlobContainer
Azure container - format
- Type: SystemString
Format string for filenames, where {0} is the process ID and {1} is the worker ID - writer
- Type: SystemFuncCloudBlobStream, IObserverTRecord
Function mapping I/O streams to record observers
Type Parameters
- TRecord
- Type of records in the incoming stream
Return Value
Type: SubscriptionSubscription corresponding to the Azure writer
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTRecord, Epoch. 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