| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.impl |
This package contains implementation classes for use inside
filesystems.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
LocalFileSystemPathHandle |
Opaque handle to an entity in a FileSystem.
|
class |
RawPathHandle |
Generic format of FileStatus objects.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected PathHandle |
FileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opt) |
Hook to implement support for
PathHandle operations. |
protected PathHandle |
FilterFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
|
protected PathHandle |
HarFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
|
protected PathHandle |
RawLocalFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
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 | Description |
|---|---|---|
java.util.concurrent.CompletableFuture<PathHandle> |
MultipartUploader.complete(UploadHandle uploadId,
Path filePath,
java.util.Map<java.lang.Integer,PartHandle> handles) |
Complete a multipart upload.
|
static java.util.function.Function<FileStatus,PathHandle> |
Options.HandleOpt.resolve(java.util.function.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 java.util.function.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 | Description |
|---|---|---|
protected static org.apache.hadoop.fs.FileSystem.FSDataInputStreamBuilder |
FileSystem.createDataInputStreamBuilder(FileSystem fileSystem,
PathHandle pathHandle) |
Create instance of the standard
FileSystem.FSDataInputStreamBuilder for the
given filesystem and path handle. |
FSDataInputStream |
FileSystem.open(PathHandle fd) |
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize) |
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FilterFileSystem.open(PathHandle fd,
int bufferSize) |
|
FSDataInputStream |
HarFileSystem.open(PathHandle fd,
int bufferSize) |
|
FSDataInputStream |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
|
FutureDataInputStreamBuilder |
FileSystem.openFile(PathHandle pathHandle) |
Open a file for reading through a builder API.
|
FutureDataInputStreamBuilder |
FilterFileSystem.openFile(PathHandle pathHandle) |
|
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(PathHandle pathHandle,
OpenFileParameters parameters) |
Execute the actual open file operation.
|
protected java.util.concurrent.CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(PathHandle pathHandle,
OpenFileParameters parameters) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.function.Function<FileStatus,PathHandle> |
Options.HandleOpt.resolve(java.util.function.BiFunction<FileStatus,Options.HandleOpt[],PathHandle> fsr,
Options.HandleOpt... opt) |
Utility function for partial evaluation of
FileStatus
instances to a fixed set of handle options. |
| Constructor | Description |
|---|---|
RawPathHandle(PathHandle handle) |
Initialize using a copy of bytes from the serialized handle.
|
| Modifier and Type | Method | Description |
|---|---|---|
PathHandle |
AbstractFSBuilderImpl.getPathHandle() |
Get the PathHandle: only valid if constructed with a PathHandle.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.CompletableFuture<PathHandle> |
FileSystemMultipartUploader.complete(UploadHandle uploadId,
Path filePath,
java.util.Map<java.lang.Integer,PartHandle> handleMap) |
|
java.util.Optional<PathHandle> |
AbstractFSBuilderImpl.getOptionalPathHandle() |
Get the optional path handle; may be empty.
|
| Constructor | Description |
|---|---|
AbstractFSBuilderImpl(PathHandle pathHandle) |
|
FutureDataInputStreamBuilderImpl(FileSystem fileSystem,
PathHandle pathHandle) |
Constructor with PathHandle.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.