[This is preliminary documentation and is subject to change.]
Execute a work item, reading an HDFS file and generating a sequence of output records
Namespace: Microsoft.Research.Naiad.Frameworks.Storage.Dfs
Assembly: Microsoft.Research.Naiad.Storage (in Microsoft.Research.Naiad.Storage.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public IEnumerable<ArraySegment<TOutput>> DoWork( DfsBlock workItem )
Parameters
- workItem
- Type: Microsoft.Research.Naiad.Frameworks.Storage.DfsDfsBlock
The work item to be executed, corresponding to an entire Hdfs file
Return Value
Type: IEnumerableArraySegmentTOutputA sequence of array segments, each containing a sequence of records to be output
Implements
IWorkerTWorkDescription, TWorkerDescription, TOutputDoWork(TWorkDescription)See Also