[MINOR] Update the javadoc of HoodieTableMetaClient#scanFiles (#1263)
[MINOR] Update the javadoc of HoodieTableMetaClient#scanFiles
This commit is contained in:
@@ -381,7 +381,15 @@ public class HoodieTableMetaClient implements Serializable {
|
|||||||
return metaClient;
|
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 {
|
public static FileStatus[] scanFiles(FileSystem fs, Path metaPath, PathFilter nameFilter) throws IOException {
|
||||||
return fs.listStatus(metaPath, nameFilter);
|
return fs.listStatus(metaPath, nameFilter);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user