@Private
@Unstable
public class Globber
extends java.lang.Object
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.| Modifier and Type | Class | Description |
|---|---|---|
static class |
Globber.GlobBuilder |
Builder for Globber instances.
|
| Modifier and Type | Field | Description |
|---|---|---|
static org.slf4j.Logger |
LOG |
| Modifier and Type | Method | Description |
|---|---|---|
static Globber.GlobBuilder |
createGlobber(FileContext fileContext) |
Create a builder for a Globber, bonded to the specific file
context.
|
static Globber.GlobBuilder |
createGlobber(FileSystem filesystem) |
Create a builder for a Globber, bonded to the specific filesystem.
|
FileStatus[] |
glob() |
public FileStatus[] glob() throws java.io.IOException
java.io.IOExceptionpublic static Globber.GlobBuilder createGlobber(FileSystem filesystem)
filesystem - filesystempublic static Globber.GlobBuilder createGlobber(FileContext fileContext)
fileContext - file context.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.