[This is preliminary documentation and is subject to change.]
Reads the contents of all binary files in an Azure directory into a Naiad stream.
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<R, Epoch> ReadCustomBinaryFromAzureBlobs<R>( this Computation manager, CloudBlobContainer container, string prefix, Func<BinaryReader, IEnumerable<R>> reader )
Parameters
- manager
- Type: Microsoft.Research.NaiadComputation
Graph manager - container
- Type: CloudBlobContainer
Azure container - prefix
- Type: SystemString
Azure blob prefix - reader
- Type: SystemFuncBinaryReader, IEnumerableR
Decoding function from a binary reader to a sequence of records
Type Parameters
- R
- Type of records stored in the blobs
Return Value
Type: StreamR, 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