DfsBlockCoordinatorTItemMakeBaseMatches Method Naiad Help

[This is preliminary documentation and is subject to change.]

For a given file, map a sequence of locations to a sequence of "base" matches, where the workStub component of the match has any filetype-specific metadata filled in and the categories component of the match has been set to the locations of that block. The HdfsBlock fields will all be filled in later 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 abstract 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, TWorkerDescriptionMatch
A sequence of Matches with the categories set, and any file-specific metadata set
See Also

Reference