1
0

[MINOR] Update the javadoc of HoodieTableMetaClient#scanFiles (#1263)

[MINOR] Update the javadoc of HoodieTableMetaClient#scanFiles
This commit is contained in:
Mathieu
2020-01-21 15:50:40 +08:00
committed by vinoyang
parent 924bf514e2
commit b6e2993ceb

View File

@@ -381,7 +381,15 @@ public class HoodieTableMetaClient implements Serializable {
return metaClient;
}
// HELPER METHODS TO CREATE META FILE NAMES
/**
* Helper method to scan all hoodie-instant metafiles.
*
* @param fs The file system implementation for this table
* @param metaPath The meta path where meta files are stored
* @param nameFilter The name filter to filter meta files
* @return An array of meta FileStatus
* @throws IOException In case of failure
*/
public static FileStatus[] scanFiles(FileSystem fs, Path metaPath, PathFilter nameFilter) throws IOException {
return fs.listStatus(metaPath, nameFilter);
}