Package | Description |
---|---|
org.apache.hadoop.fs |
An abstract file system API.
|
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. |
PathHandle |
FileSystem.getPathHandle(FileStatus stat,
Options.HandleOpt... opt)
Create a durable, serializable handle to the referent of the given
entity.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
FSDataInputStream |
FileSystem.open(PathHandle fd)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
HarFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize)
Open an FSDataInputStream matching the PathHandle instance.
|
Modifier and Type | Method and Description |
---|---|
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. |
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.