[This is preliminary documentation and is subject to change.]
Reads the contents of all files in an Azure directory into a Naiad stream.
The serialization format is the same as WriteBinaryToAzureBlobs, and based on the Naiad message format.
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 Stream<TRecord, Epoch> ReadBinaryFromAzureBlobs<TRecord>( this Computation manager, CloudBlobContainer container, string prefix )
Parameters
- manager
- Type: Microsoft.Research.NaiadComputation
Graph manager - container
- Type: CloudBlobContainer
Azure container - prefix
- Type: SystemString
Azure blob prefix
Type Parameters
- TRecord
- Type of records stored in the blobs
Return Value
Type: StreamTRecord, EpochNaiad stream containing the records extracted from files in the Azure directory
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Computation. 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