|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PathFilter | |
|---|---|
| org.apache.hadoop.fs | An abstract file system API. |
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapred.lib | |
| org.apache.hadoop.mapreduce.lib.input | |
| Uses of PathFilter in org.apache.hadoop.fs |
|---|
| Classes in org.apache.hadoop.fs that implement PathFilter | |
|---|---|
class |
GlobFilter
A filter for POSIX glob pattern with brace expansions. |
| Methods in org.apache.hadoop.fs with parameters of type PathFilter | |
|---|---|
FileStatus[] |
FileSystem.globStatus(Path pathPattern,
PathFilter filter)
Return an array of FileStatus objects whose path names match pathPattern and is accepted by the user-supplied path filter. |
protected org.apache.hadoop.fs.RemoteIterator<LocatedFileStatus> |
FileSystem.listLocatedStatus(Path f,
PathFilter filter)
Listing a directory The returned results include its block location if it is a file The results are filtered by the given path filter |
FileStatus[] |
FileSystem.listStatus(Path[] files,
PathFilter filter)
Filter files/directories in the given list of paths using user-supplied path filter. |
FileStatus[] |
FileSystem.listStatus(Path f,
PathFilter filter)
Filter files/directories in the given path using the user-supplied path filter. |
| Constructors in org.apache.hadoop.fs with parameters of type PathFilter | |
|---|---|
GlobFilter(String filePattern,
PathFilter filter)
Creates a glob filter with the specified file pattern and an user filter. |
|
| Uses of PathFilter in org.apache.hadoop.mapred |
|---|
| Classes in org.apache.hadoop.mapred that implement PathFilter | |
|---|---|
class |
OutputLogFilter
This class filters log files from directory given It doesnt accept paths having _logs. |
| Methods in org.apache.hadoop.mapred that return PathFilter | |
|---|---|
static PathFilter |
FileInputFormat.getInputPathFilter(JobConf conf)
Get a PathFilter instance of the filter set for the input paths. |
| Methods in org.apache.hadoop.mapred with parameters of type PathFilter | |
|---|---|
protected void |
FileInputFormat.addInputPathRecursively(List<FileStatus> result,
FileSystem fs,
Path path,
PathFilter inputFilter)
Add files in the input path recursively into the results. |
| Method parameters in org.apache.hadoop.mapred with type arguments of type PathFilter | |
|---|---|
static void |
FileInputFormat.setInputPathFilter(JobConf conf,
Class<? extends PathFilter> filter)
Set a PathFilter to be applied to the input paths for the map-reduce job. |
| Uses of PathFilter in org.apache.hadoop.mapred.lib |
|---|
| Methods in org.apache.hadoop.mapred.lib with parameters of type PathFilter | |
|---|---|
protected void |
CombineFileInputFormat.createPool(JobConf conf,
PathFilter... filters)
Deprecated. Use CombineFileInputFormat.createPool(PathFilter...). |
| Method parameters in org.apache.hadoop.mapred.lib with type arguments of type PathFilter | |
|---|---|
protected void |
CombineFileInputFormat.createPool(JobConf conf,
List<PathFilter> filters)
Deprecated. Use CombineFileInputFormat.createPool(List). |
| Uses of PathFilter in org.apache.hadoop.mapreduce.lib.input |
|---|
| Methods in org.apache.hadoop.mapreduce.lib.input that return PathFilter | |
|---|---|
static PathFilter |
FileInputFormat.getInputPathFilter(JobContext context)
Get a PathFilter instance of the filter set for the input paths. |
| Methods in org.apache.hadoop.mapreduce.lib.input with parameters of type PathFilter | |
|---|---|
protected void |
FileInputFormat.addInputPathRecursively(List<FileStatus> result,
FileSystem fs,
Path path,
PathFilter inputFilter)
Add files in the input path recursively into the results. |
protected void |
CombineFileInputFormat.createPool(PathFilter... filters)
Create a new pool and add the filters to it. |
| Method parameters in org.apache.hadoop.mapreduce.lib.input with type arguments of type PathFilter | |
|---|---|
protected void |
CombineFileInputFormat.createPool(List<PathFilter> filters)
Create a new pool and add the filters to it. |
static void |
FileInputFormat.setInputPathFilter(Job job,
Class<? extends PathFilter> filter)
Set a PathFilter to be applied to the input paths for the map-reduce job. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||