Package org.apache.hadoop.fs
Class Globber
java.lang.Object
org.apache.hadoop.fs.Globber
Implementation of
FileSystem.globStatus(Path, PathFilter).
This has historically been package-private; it has been opened
up for object stores within the hadoop-* codebase ONLY.
It could be expanded for external store implementations in future.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Globber.GlobBuildercreateGlobber(FileContext fileContext) Create a builder for a Globber, bonded to the specific file context.static Globber.GlobBuildercreateGlobber(FileSystem filesystem) Create a builder for a Globber, bonded to the specific filesystem.glob()
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Method Details
-
glob
- Throws:
IOException
-
createGlobber
Create a builder for a Globber, bonded to the specific filesystem.- Parameters:
filesystem- filesystem- Returns:
- the builder to finish configuring.
-
createGlobber
Create a builder for a Globber, bonded to the specific file context.- Parameters:
fileContext- file context.- Returns:
- the builder to finish configuring.
-