[This is preliminary documentation and is subject to change.]
For a given file, map a sequence of locations to a sequence of "base" matches. The workStub
component of the match doesn't need any file-specific metadata filled in. The categories component of the
match is set to the locations of that block. The DfsBlock fields will
all be filled in after this sequence has been returned
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#
protected override IEnumerable<MatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatch> MakeBaseMatches( HdfsFile file, IEnumerable<IPEndPoint[]> blocks )
Parameters
- file
- Type: HdfsFile
The file being read - blocks
- Type: System.Collections.GenericIEnumerableIPEndPoint
The block locations for the file
Return Value
Type: IEnumerableMatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatchA sequence of Matches with the categories set, and any file-specific metadata set
See Also