public static class FilePathFilter.DefaultFilter extends FilePathFilter
FilePathFilter.DefaultFilter| Modifier and Type | Method and Description |
|---|---|
boolean |
filterPath(org.apache.flink.core.fs.Path filePath)
Returns
true if the filePath given is to be
ignored when processing a directory, e.g. |
createDefaultFilterpublic boolean filterPath(org.apache.flink.core.fs.Path filePath)
FilePathFiltertrue if the filePath given is to be
ignored when processing a directory, e.g.
public boolean filterPaths(Path filePath) {
return filePath.getName().startsWith(".") || filePath.getName().contains("_COPYING_");
}
filterPath in class FilePathFilterCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.