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 and Description |
---|---|
class |
LocalFileSystemPathHandle
Opaque handle to an entity in a FileSystem.
|
Modifier and Type | Method and Description |
---|---|
protected PathHandle |
RawLocalFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts)
Hook to implement support for
PathHandle operations. |
protected PathHandle |
HarFileSystem.createPathHandle(FileStatus stat,
Options.HandleOpt... opts) |
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) |
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 |
---|---|
CompletableFuture<PathHandle> |
MultipartUploader.complete(UploadHandle uploadId,
Path filePath,
Map<Integer,PartHandle> handles)
Complete a multipart upload.
|
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 |
RawLocalFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
HarFileSystem.open(PathHandle fd,
int bufferSize) |
FSDataInputStream |
FileSystem.open(PathHandle fd,
int bufferSize)
Open an FSDataInputStream matching the PathHandle instance.
|
FSDataInputStream |
FilterFileSystem.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 CompletableFuture<FSDataInputStream> |
FileSystem.openFileWithOptions(PathHandle pathHandle,
OpenFileParameters parameters)
Execute the actual open file operation.
|
protected CompletableFuture<FSDataInputStream> |
FilterFileSystem.openFileWithOptions(PathHandle pathHandle,
OpenFileParameters parameters) |
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. |
Modifier and Type | Method and Description |
---|---|
PathHandle |
AbstractFSBuilderImpl.getPathHandle()
Get the PathHandle: only valid if constructed with a PathHandle.
|
Modifier and Type | Method and Description |
---|---|
Optional<PathHandle> |
AbstractFSBuilderImpl.getOptionalPathHandle()
Get the optional path handle; may be empty.
|
Constructor and Description |
---|
AbstractFSBuilderImpl(PathHandle pathHandle) |
FutureDataInputStreamBuilderImpl(FileSystem fileSystem,
PathHandle pathHandle)
Constructor with PathHandle.
|
Constructor and Description |
---|
AbstractFSBuilderImpl(Optional<Path> optionalPath,
Optional<PathHandle> optionalPathHandle)
Constructor with both optional path and path handle.
|
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.