public final class PathFilters extends Object
PathFilter
.Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.PathFilter |
finalPartFilter() |
static org.apache.hadoop.fs.PathFilter |
logsCRCFilter() |
static org.apache.hadoop.fs.PathFilter |
partFilter() |
public static org.apache.hadoop.fs.PathFilter partFilter()
PathFilter
that accepts paths whose file name starts with "part-". Excludes
".crc" files.public static org.apache.hadoop.fs.PathFilter finalPartFilter()
PathFilter
that accepts paths whose file name starts with "part-" and ends with "-final".public static org.apache.hadoop.fs.PathFilter logsCRCFilter()
PathFilter
that rejects paths whose file name starts with "_" (e.g. Cloudera
_SUCCESS files or Hadoop _logs), or "." (e.g. local hidden files), or ends with ".crc"Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.