Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
Modifier and Type | Class and Description |
---|---|
static class |
Options.HandleOpt.Data
Option storing standard constraints on data.
|
static class |
Options.HandleOpt.Location
Option storing standard constraints on location.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Options.HandleOpt> |
Options.HandleOpt.getOpt(Class<T> c,
Options.HandleOpt... opt)
Utility method to extract a HandleOpt from the set provided.
|
Modifier and Type | Method and Description |
---|---|
static Options.HandleOpt[] |
Options.HandleOpt.content()
Handle is valid iff the content of the referent is the same.
|
static Options.HandleOpt[] |
Options.HandleOpt.exact()
Handle is valid iff the referent is neither moved nor changed.
|
static Options.HandleOpt[] |
Options.HandleOpt.path()
Handle is valid iff the referent is unmoved in the namespace.
|
static Options.HandleOpt[] |
Options.HandleOpt.reference()
Handle is valid iff the referent exists in the namespace.
|
Modifier and Type | Method and Description |
---|---|
protected PathHandle |
HarFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
protected PathHandle |
FilterFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
protected PathHandle |
FileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opt)
Hook to implement support for
PathHandle operations. |
protected PathHandle |
RawLocalFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts)
Hook to implement support for
PathHandle operations. |
static <T extends Options.HandleOpt> |
Options.HandleOpt.getOpt(Class<T> c,
Options.HandleOpt... opt)
Utility method to extract a HandleOpt from the set provided.
|
PathHandle |
FileSystem.getPathHandle(FileStatus stat,
Options.HandleOpt... opt)
Create a durable, serializable handle to the referent of the given
entity.
|
static Function<FileStatus,PathHandle> |
Options.HandleOpt.resolve(BiFunction<FileStatus,Options.HandleOpt[],PathHandle> fsr,
Options.HandleOpt... opt)
Utility function for partial evaluation of
FileStatus
instances to a fixed set of handle options. |
static Function<FileStatus,PathHandle> |
Options.HandleOpt.resolve(FileSystem fs,
Options.HandleOpt... opt)
Utility function for mapping
FileSystem.getPathHandle(org.apache.hadoop.fs.FileStatus, org.apache.hadoop.fs.Options.HandleOpt...) to a
fixed set of handle options. |
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.